From e540c67fd17170a6ed31b3be28715b90b8f942ee Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Wed, 2 Oct 2024 01:40:35 +0530 Subject: [PATCH] enable warning for inconsistent data columns --- beacon_chain/sync/sync_manager.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/beacon_chain/sync/sync_manager.nim b/beacon_chain/sync/sync_manager.nim index 93c016243..7b38b9f98 100644 --- a/beacon_chain/sync/sync_manager.nim +++ b/beacon_chain/sync/sync_manager.nim @@ -644,9 +644,9 @@ proc syncStep[A, B](man: SyncManager[A, B], index: int, peer: A) let groupedDataColumns = groupDataColumns(req, blockData, dataColumnData) if groupedDataColumns.isErr(): # peer.updateScore(PeerScoreNoValues) - # man.queue.push(req) - # warn "Received data columns is inconsistent", - # data_columns_map = getShortMap(req, dataColumnData), request = req, msg=groupedDataColumns.error() + man.queue.push(req) + warn "Received data columns is inconsistent", + data_columns_map = getShortMap(req, dataColumnData), request = req, msg=groupedDataColumns.error() return if (let checkRes = groupedDataColumns.get.checkDataColumns(); checkRes.isErr): # peer.updateScore(PeerScoreBadResponse)