forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 714
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUG][P2P] Update mapBlockSource before processing new received block
This bug is visible in the numerous commented "expected_disconnect" lines in feature_block.py. When the validation state is sent via the BlockChecked signal, after ConnectBlock failures in ConnectTip, the mapBlockSource is not updated yet, so there is no node to disconnect.
- Loading branch information
1 parent
db5e692
commit a6d74e7
Showing
2 changed files
with
20 additions
and
31 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
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