Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
itegulov committed Feb 6, 2025
1 parent b0cae9c commit 5daafe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tests/loadnext/src/command/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async fn random_block_number(wallet: &SyncWallet, rng: &mut LoadtestRng) -> api:
{
Ok(Some(block_number)) => {
let block_number = block_number.number.as_u64();
let number = rng.next_u64() % &block_number;
let number = rng.next_u64() % block_number;
api::BlockNumber::Number(number.into())
}
_ => {
Expand Down

0 comments on commit 5daafe7

Please sign in to comment.