From 199b9ae1e862cca6e7b999a84cf8def35e3ca60c Mon Sep 17 00:00:00 2001 From: Kartik Chopra Date: Wed, 24 Apr 2024 09:48:40 -0400 Subject: [PATCH] comments out issue causing if statement for fullsync --- eth/handler.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eth/handler.go b/eth/handler.go index 1a6dc38207..ed9b2a04a1 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -240,10 +240,10 @@ func newHandler(config *handlerConfig) (*handler, error) { // accept each others' blocks until a restart. Unfortunately we haven't figured // out a way yet where nodes can decide unilaterally whether the network is new // or not. This should be fixed if we figure out a solution. - if !h.synced.Load() && config.Sync != downloader.FullSync { - log.Warn("Syncing, discarded propagated block", "number", blocks[0].Number(), "hash", blocks[0].Hash()) - return 0, nil - } + // if !h.synced.Load() && config.Sync != downloader.FullSync { + // log.Warn("Syncing, discarded propagated block", "number", blocks[0].Number(), "hash", blocks[0].Hash()) + // return 0, nil + // } if h.merger.TDDReached() { // The blocks from the p2p network is regarded as untrusted // after the transition. In theory block gossip should be disabled