diff options
author | bojie <bojie@dexon.org> | 2019-03-11 17:43:52 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:57 +0800 |
commit | 7e6fbc77b8be3f2f0cc52f410b071a1e1fd28641 (patch) | |
tree | 8179e10b03d3b8638868ab75ea67fc4c517ca42b /core/genesis.go | |
parent | 22325afbf6dfd179f074018fab4866a0c56a3e6a (diff) | |
download | dexon-7e6fbc77b8be3f2f0cc52f410b071a1e1fd28641.tar.gz dexon-7e6fbc77b8be3f2f0cc52f410b071a1e1fd28641.tar.zst dexon-7e6fbc77b8be3f2f0cc52f410b071a1e1fd28641.zip |
app: new app test flow (#244)
Diffstat (limited to 'core/genesis.go')
-rw-r--r-- | core/genesis.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/genesis.go b/core/genesis.go index 7f2cafbf5..f2df4f62f 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -169,8 +169,6 @@ func SetupGenesisBlock(db ethdb.Database, genesis *Genesis) (*params.ChainConfig return SetupGenesisBlockWithOverride(db, genesis, nil) } func SetupGenesisBlockWithOverride(db ethdb.Database, genesis *Genesis, constantinopleOverride *big.Int) (*params.ChainConfig, common.Hash, error) { - rawdb.WriteLastRoundNumber(db, 0) - if genesis != nil && genesis.Config == nil { return params.AllEthashProtocolChanges, common.Hash{}, errGenesisNoConfig } |