aboutsummaryrefslogtreecommitdiffstats
path: root/les
diff options
context:
space:
mode:
authorMartin Holst Swende <martin@swende.se>2018-12-11 20:19:03 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-12-11 20:19:03 +0800
commit83a9a73b899e816a0d1493b7fb1e37abe4bc4566 (patch)
treea813e0e451a7a44ee12c91e40bcd76041f793895 /les
parent5584574217df29f5daf5db70b3d2536ec66a036c (diff)
downloaddexon-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.go2
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
}