diff options
author | Martin Holst Swende <martin@swende.se> | 2018-12-11 20:19:03 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-12-11 20:19:03 +0800 |
commit | 83a9a73b899e816a0d1493b7fb1e37abe4bc4566 (patch) | |
tree | a813e0e451a7a44ee12c91e40bcd76041f793895 /les | |
parent | 5584574217df29f5daf5db70b3d2536ec66a036c (diff) | |
download | dexon-83a9a73b899e816a0d1493b7fb1e37abe4bc4566.tar.gz dexon-83a9a73b899e816a0d1493b7fb1e37abe4bc4566.tar.zst dexon-83a9a73b899e816a0d1493b7fb1e37abe4bc4566.zip |
cmd/geth, core, eth: implement Constantinople override flag (#18273)
* geth/core/eth: implement constantinople override flag
* les: implemnent constantinople override flag for les clients
* cmd/geth, eth, les: fix typo, move flag to experimentals
Diffstat (limited to 'les')
-rw-r--r-- | les/backend.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/les/backend.go b/les/backend.go index a3474a683..d0db71019 100644 --- a/les/backend.go +++ b/les/backend.go @@ -82,7 +82,7 @@ func New(ctx *node.ServiceContext, config *eth.Config) (*LightEthereum, error) { if err != nil { return nil, err } - chainConfig, genesisHash, genesisErr := core.SetupGenesisBlock(chainDb, config.Genesis) + chainConfig, genesisHash, genesisErr := core.SetupGenesisBlockWithOverride(chainDb, config.Genesis, config.ConstantinopleOverride) if _, isCompat := genesisErr.(*params.ConfigCompatError); genesisErr != nil && !isCompat { return nil, genesisErr } |