diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-10-24 18:40:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-24 18:40:42 +0800 |
commit | 6d6a5a93370371a33fb815d7ae47b60c7021c86a (patch) | |
tree | aa73dff1db3aa2566c2e74cf9ac37f13878fae80 /core/chain_makers.go | |
parent | ea5f2da39ad198e58107a79214419e31988c5e5a (diff) | |
download | dexon-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar dexon-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.gz dexon-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.bz2 dexon-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.lz dexon-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.xz dexon-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.zst dexon-6d6a5a93370371a33fb815d7ae47b60c7021c86a.zip |
cmd, consensus, core, miner: instatx clique for --dev (#15323)
* cmd, consensus, core, miner: instatx clique for --dev
* cmd, consensus, clique: support configurable --dev block times
* cmd, core: allow --dev to use persistent storage too
Diffstat (limited to 'core/chain_makers.go')
-rw-r--r-- | core/chain_makers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_makers.go b/core/chain_makers.go index dd3e2fb19..59af633df 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -235,7 +235,7 @@ func newCanonical(n int, full bool) (ethdb.Database, *BlockChain, error) { db, _ := ethdb.NewMemDatabase() genesis := gspec.MustCommit(db) - blockchain, _ := NewBlockChain(db, params.AllProtocolChanges, ethash.NewFaker(), vm.Config{}) + blockchain, _ := NewBlockChain(db, params.AllEthashProtocolChanges, ethash.NewFaker(), vm.Config{}) // Create and inject the requested chain if n == 0 { return db, blockchain, nil |