diff --git a/block_pool.go b/block_pool.go index d1be70187..595400c79 100644 --- a/block_pool.go +++ b/block_pool.go @@ -99,7 +99,8 @@ func (self *BlockPool) FetchHashes(peer *Peer) bool { self.td = peer.td if !self.HasLatestHash() { - peer.doneFetchingHashes = fInfo + peer.doneFetchingHashes = false + const amount = 256 peerlogger.Debugf("Fetching hashes (%d) %x...\n", amount, peer.lastReceivedHash[0:4]) peer.QueueMessage(wire.NewMessage(wire.MsgGetBlockHashesTy, []interface{}{peer.lastReceivedHash, uint32(amount)}))