chore: dont set some ready when draining pending txs (#6620)

This commit is contained in:
Matthias Seitz
2024-02-16 00:31:23 +01:00
committed by GitHub
parent 4a8a68b8b9
commit 3222be6460

View File

@@ -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);