From f0301b974fd2f5537cc40dc2da0dfb7f0552ba87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Mon, 13 May 2019 14:05:11 +0300 Subject: [PATCH] eth: reenable eth/62 until we properly remove it --- eth/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/handler.go b/eth/handler.go index e200991d33..58add2eafc 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -135,7 +135,7 @@ func NewProtocolManager(config *params.ChainConfig, mode downloader.SyncMode, ne for i, version := range ProtocolVersions { // Skip protocol version if incompatible with the mode of operation // TODO(karalabe): hard-drop eth/62 from the code base - if version < eth63 { + if atomic.LoadUint32(&manager.fastSync) == 1 && version < eth63 { continue } // Compatible; initialise the sub-protocol