diff options
author | obscuren <geffobscura@gmail.com> | 2014-01-24 03:55:23 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-01-24 03:55:23 +0800 |
commit | 878e796c0adaa608a3e5feacf89a6766b347c9c8 (patch) | |
tree | aef5868a7f3c225fd96a22b460d9537fd68cf6a9 /peer.go | |
parent | 2b32f47d2c17aaee655d56fd91c95798652b1116 (diff) | |
download | dexon-878e796c0adaa608a3e5feacf89a6766b347c9c8.tar.gz dexon-878e796c0adaa608a3e5feacf89a6766b347c9c8.tar.zst dexon-878e796c0adaa608a3e5feacf89a6766b347c9c8.zip |
Updated packages
Diffstat (limited to 'peer.go')
-rw-r--r-- | peer.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ package eth import ( + "github.com/ethereum/ethchain-go" "github.com/ethereum/ethutil-go" "github.com/ethereum/ethwire-go" "log" @@ -169,7 +170,7 @@ out: // Version message p.handleHandshake(msg) case ethwire.MsgBlockTy: - err := p.ethereum.BlockManager.ProcessBlock(ethutil.NewBlock(msg.Data)) + err := p.ethereum.BlockManager.ProcessBlock(ethchain.NewBlock(msg.Data)) if err != nil { log.Println(err) } |