aboutsummaryrefslogtreecommitdiffstats
path: root/light
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-07-04 17:28:58 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-07-04 17:28:58 +0800
commit8f12d76a4723ba011d033533871a0e06e1243d7c (patch)
tree35805a9d44bba26188f7ad3a953c0ea25802e33d /light
parenta0aa071ca6f6bfd77fb57273ef5477d3aa2ac6c0 (diff)
downloaddexon-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.go2
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")