Skip to content

Commit

Permalink
silence lints
Browse files Browse the repository at this point in the history
  • Loading branch information
dvush committed Jan 13, 2025
1 parent 37268fe commit dcec440
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/block_descriptor_bidding/block_registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ mod tests {
assert_eq!(block.can_add_payout_tx(), can_add_payout_tx);
}
// it should remember the last MAX_BLOCKS
#[allow(clippy::needless_range_loop)]
for i in 1..=MAX_BLOCKS {
let true_block_value = U256::from(i + initial_true_block_value);
let can_add_payout_tx = i % 2 == 0;
Expand Down
2 changes: 2 additions & 0 deletions src/metrics.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(unexpected_cfgs)]

use ctor::ctor;
use lazy_static::lazy_static;
use metrics_macros::register_metrics;
Expand Down

0 comments on commit dcec440

Please sign in to comment.