diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-08 18:29:49 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-08 18:29:49 +0800 |
commit | 4de3ad1712ce0fdc62b1acc27a3922b192e943c6 (patch) | |
tree | a7de24c746a0c6d3531f1fab925d4e8b48a76cd2 /peer.go | |
parent | 9d86a49a7327199c01977f3372c8adf748252c32 (diff) | |
download | dexon-4de3ad1712ce0fdc62b1acc27a3922b192e943c6.tar dexon-4de3ad1712ce0fdc62b1acc27a3922b192e943c6.tar.gz dexon-4de3ad1712ce0fdc62b1acc27a3922b192e943c6.tar.bz2 dexon-4de3ad1712ce0fdc62b1acc27a3922b192e943c6.tar.lz dexon-4de3ad1712ce0fdc62b1acc27a3922b192e943c6.tar.xz dexon-4de3ad1712ce0fdc62b1acc27a3922b192e943c6.tar.zst dexon-4de3ad1712ce0fdc62b1acc27a3922b192e943c6.zip |
New block message
Diffstat (limited to 'peer.go')
-rw-r--r-- | peer.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -538,7 +538,10 @@ func (p *Peer) HandleInbound() { p.lastBlockReceived = time.Now() } + case ethwire.MsgNewBlockTy: + p.ethereum.blockPool.AddNew(ethchain.NewBlockFromRlpValue(msg.Data), p) } + } } } |