aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_makers.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-10-24 18:40:42 +0800
committerGitHub <noreply@github.com>2017-10-24 18:40:42 +0800
commit6d6a5a93370371a33fb815d7ae47b60c7021c86a (patch)
treeaa73dff1db3aa2566c2e74cf9ac37f13878fae80 /core/chain_makers.go
parentea5f2da39ad198e58107a79214419e31988c5e5a (diff)
downloadgo-tangerine-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar
go-tangerine-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.gz
go-tangerine-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.bz2
go-tangerine-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.lz
go-tangerine-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.xz
go-tangerine-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.zst
go-tangerine-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.go2
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