diff options
author | Aaron Buchwald <[email protected]> | 2020-11-23 20:46:35 -0500 |
---|---|---|
committer | Aaron Buchwald <[email protected]> | 2020-12-15 10:46:26 -0500 |
commit | 368844ad2a28ec07848e3c0169cf2b83b579a2e8 (patch) | |
tree | 0b3956351add28aed944824eb45ffb2723809dba /eth/backend.go | |
parent | 2d0a37c6490dc9a4ec36ee4ebbed01c790f0426a (diff) |
Add native asset precompiled contracts for apricot release
Diffstat (limited to 'eth/backend.go')
-rw-r--r-- | eth/backend.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/eth/backend.go b/eth/backend.go index 9fb8f38..e26cbb3 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -28,7 +28,6 @@ import ( "github.com/ava-labs/coreth/consensus" "github.com/ava-labs/coreth/consensus/clique" "github.com/ava-labs/coreth/consensus/dummy" - "github.com/ava-labs/coreth/consensus/ethash" "github.com/ava-labs/coreth/core" "github.com/ava-labs/coreth/core/bloombits" "github.com/ava-labs/coreth/core/rawdb" @@ -152,7 +151,7 @@ func New(stack *node.Node, config *Config, chainDb: chainDb, eventMux: stack.EventMux(), accountManager: stack.AccountManager(), - engine: CreateConsensusEngine(stack, chainConfig, &config.Ethash, config.Miner.Notify, config.Miner.Noverify, chainDb, cb), + engine: CreateConsensusEngine(cb), closeBloomHandler: make(chan struct{}), networkID: config.NetworkId, gasPrice: config.Miner.GasPrice, @@ -265,7 +264,7 @@ func makeExtraData(extra []byte) []byte { } // CreateConsensusEngine creates the required type of consensus engine instance for an Ethereum service -func CreateConsensusEngine(stack *node.Node, chainConfig *params.ChainConfig, config *ethash.Config, notify []string, noverify bool, db ethdb.Database, cb *dummy.ConsensusCallbacks) consensus.Engine { +func CreateConsensusEngine(cb *dummy.ConsensusCallbacks) consensus.Engine { return dummy.NewDummyEngine(cb) } |