Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
90b22773
Commit
90b22773
authored
Jun 06, 2018
by
Bruno Škvorc
Committed by
Péter Szilágyi
Jun 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/puppeth: fixed a typo in a wizard input query (#16910)
parent
9e4f96a1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wizard_node.go
cmd/puppeth/wizard_node.go
+2
-2
No files found.
cmd/puppeth/wizard_node.go
View file @
90b22773
...
...
@@ -107,7 +107,7 @@ 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 use
r
?
\n
"
)
fmt
.
Printf
(
"What address should the miner use?
\n
"
)
for
{
if
address
:=
w
.
readAddress
();
address
!=
nil
{
infos
.
etherbase
=
address
.
Hex
()
...
...
@@ -115,7 +115,7 @@ func (w *wizard) deployNode(boot bool) {
}
}
}
else
{
fmt
.
Printf
(
"What address should the miner use
r
? (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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment