From 1ec063bb50fc1320cc04cb39ec69402ce4e505d4 Mon Sep 17 00:00:00 2001 From: ucwong Date: Tue, 30 Jul 2019 16:51:44 +0800 Subject: [PATCH] Update sync.go --- eth/sync.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/eth/sync.go b/eth/sync.go index 7157e1aefa..a668785428 100644 --- a/eth/sync.go +++ b/eth/sync.go @@ -171,9 +171,6 @@ func (pm *ProtocolManager) synchronise(peer *peer) { td := pm.blockchain.GetTd(currentBlock.Hash(), currentBlock.NumberU64()) pHead, pTd := peer.Head() - if pTd == nil { - return - } if pTd.Cmp(td) <= 0 { return