diff options
Diffstat (limited to 'blockpool/blockpool.go')
-rw-r--r-- | blockpool/blockpool.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/blockpool/blockpool.go b/blockpool/blockpool.go index 2340eadae..7a65768c7 100644 --- a/blockpool/blockpool.go +++ b/blockpool/blockpool.go @@ -384,6 +384,7 @@ func (self *BlockPool) AddBlockHashes(next func() (common.Hash, bool), peerId st // first check if we are building the head section of a peer's chain if bestpeer.parentHash == hash { if self.hasBlock(bestpeer.currentBlockHash) { + bestpeer.lock.RUnlock() return } /* |