-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Description --- Fixes potential ban by making a check before we ban. Motivation and Context --- Under very rare circumstances it might be possible for the base_node to receive the blocks required to up its local metadata. And here we can ban a local peer for providing inaccurate chain metadata although he could have provided the correct number, our chain could have advanced enough to not switch over. Fixes: #5143
- Loading branch information
1 parent
86a9eaf
commit 9892da6
Showing
1 changed file
with
30 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters