Skip to content

Commit

Permalink
reduce log verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-savu committed Nov 7, 2024
1 parent fd55090 commit 2abf9b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ethers-middleware/src/gas_escalator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,11 @@ impl<M, E> EscalationTask<M, E> {
std::mem::take(&mut (*txs))
// Lock scope ends
};
println!("In the escalator watcher loop. Monitored txs: {:?}", txs);

let len = txs.len();
if len > 0 {
println!("In the escalator watcher loop. Monitored txs: {:?}", txs);
}
// Pop all transactions and re-insert those that have not been included yet
for _ in 0..len {
// this must never panic as we're explicitly within bounds
Expand Down

0 comments on commit 2abf9b2

Please sign in to comment.