vim error :S

This commit is contained in:
obscuren 2014-12-04 15:38:41 +01:00
parent 73123bf257
commit 5653898150
1 changed files with 2 additions and 1 deletions

View File

@ -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)}))