diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-10-26 17:39:03 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-11-21 21:09:38 +0800 |
commit | 80be5e546398203c1958a0f512e651a2c36b1fe0 (patch) | |
tree | 8734682b62b3da4a9596dd3cf632d7501d309a8f /cmd/puppeth/wizard_intro.go | |
parent | 7abf968d6fbc5955fedac6f3aba27afdca02176f (diff) | |
download | dexon-80be5e546398203c1958a0f512e651a2c36b1fe0.tar dexon-80be5e546398203c1958a0f512e651a2c36b1fe0.tar.gz dexon-80be5e546398203c1958a0f512e651a2c36b1fe0.tar.bz2 dexon-80be5e546398203c1958a0f512e651a2c36b1fe0.tar.lz dexon-80be5e546398203c1958a0f512e651a2c36b1fe0.tar.xz dexon-80be5e546398203c1958a0f512e651a2c36b1fe0.tar.zst dexon-80be5e546398203c1958a0f512e651a2c36b1fe0.zip |
cmd/puppeth: store genesis locally to persist restarts
Diffstat (limited to 'cmd/puppeth/wizard_intro.go')
-rw-r--r-- | cmd/puppeth/wizard_intro.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/puppeth/wizard_intro.go b/cmd/puppeth/wizard_intro.go index 10d8db75d..84998afc9 100644 --- a/cmd/puppeth/wizard_intro.go +++ b/cmd/puppeth/wizard_intro.go @@ -107,7 +107,7 @@ func (w *wizard) run() { fmt.Println() fmt.Println("What would you like to do? (default = stats)") fmt.Println(" 1. Show network stats") - if w.conf.genesis == nil { + if w.conf.Genesis == nil { fmt.Println(" 2. Configure new genesis") } else { fmt.Println(" 2. Manage existing genesis") @@ -129,7 +129,7 @@ func (w *wizard) run() { w.networkStats() case choice == "2": - if w.conf.genesis == nil { + if w.conf.Genesis == nil { w.makeGenesis() } else { w.manageGenesis() |