diff options
author | zelig <viktor.tron@gmail.com> | 2015-03-05 12:22:36 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-03-05 12:22:36 +0800 |
commit | 7315962880e63de070c3b48c11bd249489df4141 (patch) | |
tree | c8c2adce19186a0d0657f4a194926e6dad8eeb83 | |
parent | 15f491e5007d1507f20d0edce36cc9c0bd5cbd37 (diff) | |
download | dexon-7315962880e63de070c3b48c11bd249489df4141.tar.gz dexon-7315962880e63de070c3b48c11bd249489df4141.tar.zst dexon-7315962880e63de070c3b48c11bd249489df4141.zip |
use ethash.Verify in blockpool
-rw-r--r-- | eth/backend.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/eth/backend.go b/eth/backend.go index 5cd7b308f..88708b997 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -19,7 +19,6 @@ import ( "github.com/ethereum/go-ethereum/p2p" "github.com/ethereum/go-ethereum/p2p/discover" "github.com/ethereum/go-ethereum/p2p/nat" - "github.com/ethereum/go-ethereum/pow/ezp" "github.com/ethereum/go-ethereum/rpc" "github.com/ethereum/go-ethereum/whisper" ) @@ -189,7 +188,7 @@ func New(config *Config) (*Ethereum, error) { hasBlock := eth.chainManager.HasBlock insertChain := eth.chainManager.InsertChain - eth.blockPool = blockpool.New(hasBlock, insertChain, ezp.Verify) + eth.blockPool = blockpool.New(hasBlock, insertChain, pow.Verify) netprv, err := config.nodeKey() if err != nil { |