Skip to content

Commit cb2f490

Browse files
committed
fix: don't ban peers for sending us nakamoto blocks we can't yet handle
1 parent 447bb15 commit cb2f490

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

stackslib/src/net/relay.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,9 +1725,6 @@ impl Relayer {
17251725
"Failed to validate Nakamoto blocks pushed from {:?}: {:?}",
17261726
neighbor_key, &e
17271727
);
1728-
1729-
// punish this peer
1730-
bad_neighbors.push((*neighbor_key).clone());
17311728
break;
17321729
}
17331730

0 commit comments

Comments
 (0)