Skip to content

Commit f52a265

Browse files
author
Barnabas Ratki
committed
Comment on time
1 parent e6977b2 commit f52a265

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • programs/program-authority-timelock/src/tests

programs/program-authority-timelock/src/tests/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async fn test() {
3030
.duration_since(SystemTime::UNIX_EPOCH)
3131
.unwrap()
3232
.as_secs() as i64
33-
+ 24 * 60 * 1000;
33+
+ 24 * 60 * 60; // some timestamp in the UTC future, offset due to the system time potentially not matching UTC, this will ensure that its in the UTC future as well
3434
let (mut simulator, authority_keypair_1) = TimelockSimulator::new().await;
3535
let authority_keypair_2 = Keypair::new();
3636

0 commit comments

Comments
 (0)