mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
fix(net): mark transactions as seen in propagate_hashes_to (#22776)
This commit is contained in:
@@ -977,8 +977,11 @@ where
|
||||
return
|
||||
}
|
||||
|
||||
for hash in new_pooled_hashes.iter_hashes().copied() {
|
||||
propagated.record(hash, PropagateKind::Hash(peer_id));
|
||||
if let Some(peer) = self.peers.get_mut(&peer_id) {
|
||||
for hash in new_pooled_hashes.iter_hashes().copied() {
|
||||
propagated.record(hash, PropagateKind::Hash(peer_id));
|
||||
peer.seen_transactions.insert(hash);
|
||||
}
|
||||
}
|
||||
|
||||
trace!(target: "net::tx::propagation", ?peer_id, ?new_pooled_hashes, "Propagating transactions to peer");
|
||||
|
||||
Reference in New Issue
Block a user