mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Update sync.go
This commit is contained in:
parent
15fbed5197
commit
5514eca74b
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ func (pm *ProtocolManager) synchronise(peer *peer) {
|
|||
td := pm.blockchain.GetTd(currentBlock.Hash(), currentBlock.NumberU64())
|
||||
|
||||
pHead, pTd := peer.Head()
|
||||
if pTd := nil {
|
||||
if pTd == nil {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue