From 551f7fbf1f8039acbd744f0f1d3bb6ddd0ec6fcd Mon Sep 17 00:00:00 2001 From: alexwang <39109351+dipingxian2@users.noreply.github.com> Date: Thu, 13 Feb 2020 00:19:54 +0800 Subject: [PATCH] Update wizard_genesis.go --- cmd/puppeth/wizard_genesis.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/puppeth/wizard_genesis.go b/cmd/puppeth/wizard_genesis.go index 7cc0330ee6..6e8aff1e60 100644 --- a/cmd/puppeth/wizard_genesis.go +++ b/cmd/puppeth/wizard_genesis.go @@ -64,7 +64,7 @@ func (w *wizard) makeGenesis() { if w.consensusType != "" { choice = w.consensusType fmt.Println(w.consensusType) - }else{ + } else { choice = w.read() } switch { @@ -84,7 +84,7 @@ func (w *wizard) makeGenesis() { fmt.Println("How many seconds should blocks take? (default = 15)") if w.blocksTime > 0 { genesis.Config.Clique.Period = w.blocksTime - }else{ + } else { genesis.Config.Clique.Period = uint64(w.readDefaultInt(15)) } @@ -133,7 +133,7 @@ func (w *wizard) makeGenesis() { } continue } - }else{ + } else { for { // Read the address of the account to fund if address := w.readAddress(); address != nil {