Skip to content

Commit

Permalink
fixup! Merge branch 'tomas/lint-datetime' (#2849)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Mar 19, 2024
1 parent a1ebbb4 commit 0698c94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/namada/src/ledger/governance/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,7 @@ mod test {
state.write_log_mut().commit_tx();
}

#[cfg(test)]
fn update_epoch_to(
state: &mut FullAccessState<MockDB, Sha256Hasher>,
total_epochs: u64,
Expand All @@ -1000,6 +1001,7 @@ mod test {
state
.update_epoch(
height,
#[allow(clippy::disallowed_methods)]
DateTimeUtc::now()
.next_second()
.next_second()
Expand Down

0 comments on commit 0698c94

Please sign in to comment.