aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-01-24 03:55:23 +0800
committerobscuren <geffobscura@gmail.com>2014-01-24 03:55:23 +0800
commit878e796c0adaa608a3e5feacf89a6766b347c9c8 (patch)
treeaef5868a7f3c225fd96a22b460d9537fd68cf6a9 /peer.go
parent2b32f47d2c17aaee655d56fd91c95798652b1116 (diff)
downloadgo-tangerine-878e796c0adaa608a3e5feacf89a6766b347c9c8.tar
go-tangerine-878e796c0adaa608a3e5feacf89a6766b347c9c8.tar.gz
go-tangerine-878e796c0adaa608a3e5feacf89a6766b347c9c8.tar.bz2
go-tangerine-878e796c0adaa608a3e5feacf89a6766b347c9c8.tar.lz
go-tangerine-878e796c0adaa608a3e5feacf89a6766b347c9c8.tar.xz
go-tangerine-878e796c0adaa608a3e5feacf89a6766b347c9c8.tar.zst
go-tangerine-878e796c0adaa608a3e5feacf89a6766b347c9c8.zip
Updated packages
Diffstat (limited to 'peer.go')
-rw-r--r--peer.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/peer.go b/peer.go
index ef9a05ed1..d29481654 100644
--- a/peer.go
+++ b/peer.go
@@ -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)
}