diff --git a/crates/lox-library/src/lib.rs b/crates/lox-library/src/lib.rs index 0cd9b45..c20d895 100644 --- a/crates/lox-library/src/lib.rs +++ b/crates/lox-library/src/lib.rs @@ -224,7 +224,7 @@ pub struct BridgeAuth { pub bridgedb_pub: PublicKey, /// The bridge table - bridge_table: BridgeTable, + pub bridge_table: BridgeTable, /// The migration tables trustup_migration_table: MigrationTable, @@ -398,7 +398,7 @@ impl BridgeAuth { self.time_offset += time::Duration::days(1); } - #[cfg(test)] + //#[cfg(test)] /// For testing only: manually advance the day by the given number /// of days pub fn advance_days(&mut self, days: u16) { @@ -406,7 +406,7 @@ impl BridgeAuth { } /// Get today's (real or simulated) date - fn today(&self) -> u32 { + pub fn today(&self) -> u32 { // We will not encounter negative Julian dates (~6700 years ago) // or ones larger than 32 bits (time::OffsetDateTime::now_utc().date() + self.time_offset)