forked from cerc-io/plugeth
Test
This commit is contained in:
parent
166853aed9
commit
a6b9ea05e8
2
peer.go
2
peer.go
@ -442,7 +442,7 @@ func (p *Peer) HandleInbound() {
|
|||||||
ethutil.Config.Log.Debugf("[PEER] Returning %d blocks: %x ", len(chain), parent.Hash())
|
ethutil.Config.Log.Debugf("[PEER] Returning %d blocks: %x ", len(chain), parent.Hash())
|
||||||
p.QueueMessage(ethwire.NewMessage(ethwire.MsgBlockTy, chain))
|
p.QueueMessage(ethwire.NewMessage(ethwire.MsgBlockTy, chain))
|
||||||
} else {
|
} else {
|
||||||
p.QueueMessage(ethwire.NewMessage(ethwire.MsgBlockTy, []interface{}))
|
p.QueueMessage(ethwire.NewMessage(ethwire.MsgBlockTy, []interface{}{}))
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user