Skip to content

Commit

Permalink
cmd/puppeth: fixed a typo in a wizard input query (ethereum#16910)
Browse files Browse the repository at this point in the history
  • Loading branch information
Swader authored and kielbarry committed Jul 9, 2018
1 parent ab0aaa6 commit 2f46a73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/puppeth/wizard_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,15 @@ func (w *wizard) deployNode(boot bool) {
// Ethash based miners only need an etherbase to mine against
fmt.Println()
if infos.etherbase == "" {
fmt.Printf("What address should the miner user?\n")
fmt.Printf("What address should the miner use?\n")
for {
if address := w.readAddress(); address != nil {
infos.etherbase = address.Hex()
break
}
}
} else {
fmt.Printf("What address should the miner user? (default = %s)\n", infos.etherbase)
fmt.Printf("What address should the miner use? (default = %s)\n", infos.etherbase)
infos.etherbase = w.readDefaultAddress(common.HexToAddress(infos.etherbase)).Hex()
}
} else if w.conf.Genesis.Config.Clique != nil {
Expand Down

0 comments on commit 2f46a73

Please sign in to comment.