Skip to content

Commit

Permalink
Update cycles-ledger/src/storage.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Roman Kashitsyn <[email protected]>
  • Loading branch information
maciejdfinity and roman-kashitsyn authored Aug 18, 2023
1 parent 1fc09f6 commit a9d251f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cycles-ledger/src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -488,9 +488,7 @@ fn check_approve_preconditions(
if let Some(time) = created_at_time {
assert!(
time <= now.saturating_add(crate::config::PERMITTED_DRIFT.as_nanos() as u64),
"Approval created in the future, created_at_time: {}, now: {}",
time,
now
"Approval created in the future, created_at_time: {time}, now: {now}"
);
}
}
Expand Down

0 comments on commit a9d251f

Please sign in to comment.