Skip to content

Commit 401edeb

Browse files
committed
chore: don't re-send getchunksinv messages
1 parent 63a7548 commit 401edeb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stackslib/src/net/stackerdb/sync.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,10 @@ impl<NC: NeighborComms> StackerDBSync<NC> {
511511
}
512512

513513
let naddr = convo.to_neighbor_address();
514+
if sent_naddr_set.contains(&naddr) {
515+
continue;
516+
}
517+
514518
let has_reciprocal_outbound = network
515519
.get_pubkey_events(&naddr.public_key_hash)
516520
.iter()

0 commit comments

Comments
 (0)