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 /accounts | |
parent | ea5f2da39ad198e58107a79214419e31988c5e5a (diff) | |
download | go-tangerine-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.gz 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 'accounts')
-rw-r--r-- | accounts/abi/bind/backends/simulated.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/abi/bind/backends/simulated.go b/accounts/abi/bind/backends/simulated.go index 0621e81c2..e1d5745ca 100644 --- a/accounts/abi/bind/backends/simulated.go +++ b/accounts/abi/bind/backends/simulated.go @@ -59,7 +59,7 @@ type SimulatedBackend struct { // for testing purposes. func NewSimulatedBackend(alloc core.GenesisAlloc) *SimulatedBackend { database, _ := ethdb.NewMemDatabase() - genesis := core.Genesis{Config: params.AllProtocolChanges, Alloc: alloc} + genesis := core.Genesis{Config: params.AllEthashProtocolChanges, Alloc: alloc} genesis.MustCommit(database) blockchain, _ := core.NewBlockChain(database, genesis.Config, ethash.NewFaker(), vm.Config{}) backend := &SimulatedBackend{database: database, blockchain: blockchain, config: genesis.Config} |