diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-07-04 17:28:58 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-07-04 17:28:58 +0800 |
commit | 8f12d76a4723ba011d033533871a0e06e1243d7c (patch) | |
tree | 35805a9d44bba26188f7ad3a953c0ea25802e33d /light | |
parent | a0aa071ca6f6bfd77fb57273ef5477d3aa2ac6c0 (diff) | |
download | dexon-8f12d76a4723ba011d033533871a0e06e1243d7c.tar dexon-8f12d76a4723ba011d033533871a0e06e1243d7c.tar.gz dexon-8f12d76a4723ba011d033533871a0e06e1243d7c.tar.bz2 dexon-8f12d76a4723ba011d033533871a0e06e1243d7c.tar.lz dexon-8f12d76a4723ba011d033533871a0e06e1243d7c.tar.xz dexon-8f12d76a4723ba011d033533871a0e06e1243d7c.tar.zst dexon-8f12d76a4723ba011d033533871a0e06e1243d7c.zip |
params: remove redundant consts, disable metro on AllProtocolChanges
Diffstat (limited to 'light')
-rw-r--r-- | light/lightchain.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/light/lightchain.go b/light/lightchain.go index 87436f4a5..8bbf529cc 100644 --- a/light/lightchain.go +++ b/light/lightchain.go @@ -94,7 +94,7 @@ func NewLightChain(odr OdrBackend, config *params.ChainConfig, engine consensus. if bc.genesisBlock == nil { return nil, core.ErrNoGenesis } - if bc.genesisBlock.Hash() == params.MainNetGenesisHash { + if bc.genesisBlock.Hash() == params.MainnetGenesisHash { // add trusted CHT WriteTrustedCht(bc.chainDb, TrustedCht{Number: 805, Root: common.HexToHash("85e4286fe0a730390245c49de8476977afdae0eb5530b277f62a52b12313d50f")}) log.Info("Added trusted CHT for mainnet") |