Skip to content

Commit

Permalink
chore: make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroXbrock committed Dec 11, 2024
1 parent 7768d1f commit 1b77476
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/core/src/spammer/spammer_trait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ where
if cache_size == 0 {
break;
}
if quit.lock().expect("lock failure").clone() {
if *quit.lock().expect("lock failure") {
println!("CTRL-C received, stopping spam...");
break;
}
Expand Down
2 changes: 1 addition & 1 deletion crates/core/src/spammer/tx_actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ where
println!("tx failed: {:?}", pending_tx.tx_hash);
}
println!(
"tx {} used {} gas, included in block {}",
"tx landed. hash={}\tgas_used={}\tblock_num={}",
pending_tx.tx_hash,
receipt.gas_used,
receipt
Expand Down

0 comments on commit 1b77476

Please sign in to comment.