diff --git a/crates/core/src/spammer/spammer_trait.rs b/crates/core/src/spammer/spammer_trait.rs index c382e75..69fec83 100644 --- a/crates/core/src/spammer/spammer_trait.rs +++ b/crates/core/src/spammer/spammer_trait.rs @@ -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; } diff --git a/crates/core/src/spammer/tx_actor.rs b/crates/core/src/spammer/tx_actor.rs index ea27093..37a0619 100644 --- a/crates/core/src/spammer/tx_actor.rs +++ b/crates/core/src/spammer/tx_actor.rs @@ -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