mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-11 14:54:12 +00:00
enable warning for inconsistent data columns
This commit is contained in:
parent
2ecdb078b9
commit
e540c67fd1
@ -644,9 +644,9 @@ proc syncStep[A, B](man: SyncManager[A, B], index: int, peer: A)
|
|||||||
let groupedDataColumns = groupDataColumns(req, blockData, dataColumnData)
|
let groupedDataColumns = groupDataColumns(req, blockData, dataColumnData)
|
||||||
if groupedDataColumns.isErr():
|
if groupedDataColumns.isErr():
|
||||||
# peer.updateScore(PeerScoreNoValues)
|
# peer.updateScore(PeerScoreNoValues)
|
||||||
# man.queue.push(req)
|
man.queue.push(req)
|
||||||
# warn "Received data columns is inconsistent",
|
warn "Received data columns is inconsistent",
|
||||||
# data_columns_map = getShortMap(req, dataColumnData), request = req, msg=groupedDataColumns.error()
|
data_columns_map = getShortMap(req, dataColumnData), request = req, msg=groupedDataColumns.error()
|
||||||
return
|
return
|
||||||
if (let checkRes = groupedDataColumns.get.checkDataColumns(); checkRes.isErr):
|
if (let checkRes = groupedDataColumns.get.checkDataColumns(); checkRes.isErr):
|
||||||
# peer.updateScore(PeerScoreBadResponse)
|
# peer.updateScore(PeerScoreBadResponse)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user