Skip to content

Commit

Permalink
fix: don't ban peers for sending us nakamoto blocks we can't yet handle
Browse files Browse the repository at this point in the history
  • Loading branch information
jcnelson committed Sep 25, 2024
1 parent 447bb15 commit cb2f490
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions stackslib/src/net/relay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1725,9 +1725,6 @@ impl Relayer {
"Failed to validate Nakamoto blocks pushed from {:?}: {:?}",
neighbor_key, &e
);

// punish this peer
bad_neighbors.push((*neighbor_key).clone());
break;
}

Expand Down

0 comments on commit cb2f490

Please sign in to comment.