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-16 19:29:52 +0800 |
commit | 3dd46bc884d4ca666e912108ef9b7142068d86f4 (patch) | |
tree | 4465869790c63b07d7da79a4f2b8354c88e73934 /eth | |
parent | e44d50fb52537a784a48eedc23cb180b18218da0 (diff) | |
download | go-tangerine-3dd46bc884d4ca666e912108ef9b7142068d86f4.tar go-tangerine-3dd46bc884d4ca666e912108ef9b7142068d86f4.tar.gz go-tangerine-3dd46bc884d4ca666e912108ef9b7142068d86f4.tar.bz2 go-tangerine-3dd46bc884d4ca666e912108ef9b7142068d86f4.tar.lz go-tangerine-3dd46bc884d4ca666e912108ef9b7142068d86f4.tar.xz go-tangerine-3dd46bc884d4ca666e912108ef9b7142068d86f4.tar.zst go-tangerine-3dd46bc884d4ca666e912108ef9b7142068d86f4.zip |
[release/1.4.10] cmd, core, eth, params: implement flags to control dao fork blocks
(cherry picked from commit 6060e098c929792f455d7f580ed91e914d28cf3b)
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 bb487650b..7176c2887 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -250,6 +250,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, |