aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-07-07 21:04:34 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-07-15 21:52:55 +0800
commit6060e098c929792f455d7f580ed91e914d28cf3b (patch)
tree1518c9572c5c5609069e6d6c8d03fdf261fd4ad8 /eth
parentaa1e052cb41c39363a9930added46dac5b6db832 (diff)
downloaddexon-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.go2
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,