diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-10-04 17:15:58 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-10-04 17:15:58 +0800 |
commit | edba5e9854dcef9b4dcb6d75c06d5b5c7e5b8856 (patch) | |
tree | f899e9cfb1385d55cc7abfa4eb03512abba1a5ed /cmd/puppeth/wizard_netstats.go | |
parent | c0a1f1c9076608cb98f9cbd02a896e966cc2a93b (diff) | |
download | dexon-edba5e9854dcef9b4dcb6d75c06d5b5c7e5b8856.tar dexon-edba5e9854dcef9b4dcb6d75c06d5b5c7e5b8856.tar.gz dexon-edba5e9854dcef9b4dcb6d75c06d5b5c7e5b8856.tar.bz2 dexon-edba5e9854dcef9b4dcb6d75c06d5b5c7e5b8856.tar.lz dexon-edba5e9854dcef9b4dcb6d75c06d5b5c7e5b8856.tar.xz dexon-edba5e9854dcef9b4dcb6d75c06d5b5c7e5b8856.tar.zst dexon-edba5e9854dcef9b4dcb6d75c06d5b5c7e5b8856.zip |
cmd/puppeth: support managing fork block in the chain config
Diffstat (limited to 'cmd/puppeth/wizard_netstats.go')
-rw-r--r-- | cmd/puppeth/wizard_netstats.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/puppeth/wizard_netstats.go b/cmd/puppeth/wizard_netstats.go index ab8078698..c06972198 100644 --- a/cmd/puppeth/wizard_netstats.go +++ b/cmd/puppeth/wizard_netstats.go @@ -129,7 +129,7 @@ func (w *wizard) networkStats(tips bool) { } } // If a genesis block was found, load it into our configs - if protips.genesis != "" { + if protips.genesis != "" && w.conf.genesis == nil { genesis := new(core.Genesis) if err := json.Unmarshal([]byte(protips.genesis), genesis); err != nil { log.Error("Failed to parse remote genesis", "err", err) |