mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-02 09:46:26 +00:00
Revert "Address issue #1538."
This reverts commit 1be3fd53b1c610e02a1edb81063e8b3f60985bce.
This commit is contained in:
parent
1be3fd53b1
commit
d9738b43b3
@ -89,11 +89,7 @@ proc fetchAncestorBlocksFromNetwork(rman: RequestManager,
|
||||
res = Result[void, BlockError].ok()
|
||||
|
||||
if res.isOk():
|
||||
if len(ublocks) > 0:
|
||||
peer.updateScore(PeerScoreGoodBlocks)
|
||||
else:
|
||||
# Peer returned empty response
|
||||
peer.updateScore(PeerScoreNoBlocks)
|
||||
peer.updateScore(PeerScoreGoodBlocks)
|
||||
else:
|
||||
# We are not penalizing other errors because of the reasons described
|
||||
# above.
|
||||
|
Loading…
x
Reference in New Issue
Block a user