diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-07-07 21:04:34 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-07-15 21:52:55 +0800 |
commit | 6060e098c929792f455d7f580ed91e914d28cf3b (patch) | |
tree | 1518c9572c5c5609069e6d6c8d03fdf261fd4ad8 /eth | |
parent | aa1e052cb41c39363a9930added46dac5b6db832 (diff) | |
download | dexon-6060e098c929792f455d7f580ed91e914d28cf3b.tar.gz dexon-6060e098c929792f455d7f580ed91e914d28cf3b.tar.zst dexon-6060e098c929792f455d7f580ed91e914d28cf3b.zip |
cmd, core, eth, params: implement flags to control dao fork blocks
Diffstat (limited to 'eth')
-rw-r--r-- | eth/backend.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eth/backend.go b/eth/backend.go index 351cc2744..c8a9af6ee 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -205,6 +205,8 @@ func New(ctx *node.ServiceContext, config *Config) (*Ethereum, error) { if config.ChainConfig == nil { return nil, errors.New("missing chain config") } + core.WriteChainConfig(chainDb, genesis.Hash(), config.ChainConfig) + eth.chainConfig = config.ChainConfig eth.chainConfig.VmConfig = vm.Config{ EnableJit: config.EnableJit, |