Skip to content

Commit

Permalink
chore: dont set some ready when draining pending txs (#6620)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Feb 15, 2024
1 parent 4a8a68b commit 3222be6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/net/network/src/transactions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,6 @@ where
let mut new_txs = Vec::new();
while let Poll::Ready(Some(hash)) = this.pending_transactions.poll_next_unpin(cx) {
new_txs.push(hash);
some_ready = true;
}
if !new_txs.is_empty() {
this.on_new_transactions(new_txs);
Expand Down

0 comments on commit 3222be6

Please sign in to comment.