mirror of https://github.com/status-im/op-geth.git
Updated packages
This commit is contained in:
parent
2b32f47d2c
commit
878e796c0a
3
peer.go
3
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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue