forked from cerc-io/plugeth
vim error :S
This commit is contained in:
parent
73123bf257
commit
5653898150
@ -99,7 +99,8 @@ func (self *BlockPool) FetchHashes(peer *Peer) bool {
|
|||||||
self.td = peer.td
|
self.td = peer.td
|
||||||
|
|
||||||
if !self.HasLatestHash() {
|
if !self.HasLatestHash() {
|
||||||
peer.doneFetchingHashes = fInfo
|
peer.doneFetchingHashes = false
|
||||||
|
|
||||||
const amount = 256
|
const amount = 256
|
||||||
peerlogger.Debugf("Fetching hashes (%d) %x...\n", amount, peer.lastReceivedHash[0:4])
|
peerlogger.Debugf("Fetching hashes (%d) %x...\n", amount, peer.lastReceivedHash[0:4])
|
||||||
peer.QueueMessage(wire.NewMessage(wire.MsgGetBlockHashesTy, []interface{}{peer.lastReceivedHash, uint32(amount)}))
|
peer.QueueMessage(wire.NewMessage(wire.MsgGetBlockHashesTy, []interface{}{peer.lastReceivedHash, uint32(amount)}))
|
||||||
|
Loading…
Reference in New Issue
Block a user