Skip to content

Commit

Permalink
fix: clippy warning in a test
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-da committed Feb 17, 2024
1 parent 0c0e2c5 commit 4457990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/blockchain/block/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ mod block_tests {
let future_time1 = SystemTime::now()
.duration_since(SystemTime::UNIX_EPOCH)
.unwrap()
+ Duration::from_secs(60 * 60 * 1);
+ Duration::from_secs(60 * 60);
block_1.kernel.header.timestamp =
BFieldElement::new(future_time1.as_millis().try_into().unwrap());
assert!(block_1.is_valid(&genesis_block));
Expand Down

0 comments on commit 4457990

Please sign in to comment.