mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
fix some erros
This commit is contained in:
parent
eb6cb3dbf9
commit
ae33b4b408
2 changed files with 4 additions and 4 deletions
|
|
@ -91,9 +91,9 @@ func runWizard(c *cli.Context) error {
|
|||
preFundedAccounts := c.String("preFundedAccounts")
|
||||
preCmpAddOneWei := c.String("preCmpAddressWithOneWei")
|
||||
networkID := c.Uint64("networkID")
|
||||
|
||||
nonInteract := network != "" && consensusType != "" && blocksTime > 0 && sealAccounts != "" && preFundedAccounts != "" && preCmpAddOneWei != "" && networkID > 0
|
||||
|
||||
nonInteract := 0
|
||||
if network != "" && consensusType != "" && blocksTime > 0 && sealAccounts != "" && preFundedAccounts != "" && preCmpAddOneWei != "" && networkID > 0
|
||||
-------nonInteract = 1
|
||||
makeWizard(network, consensusType, blocksTime, sealAccounts, preFundedAccounts, preCmpAddOneWei, networkID, nonInteract).run()
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ type wizard struct {
|
|||
services map[string][]string // Ethereum services known to be running on servers
|
||||
|
||||
in *bufio.Reader // Wrapper around stdin to allow reading user input
|
||||
lock sync.Mutex // Lock to protect configs during concurrent service discovery
|
||||
lock sync.Mutex // Lock to protect configs during concurrent service discovery
|
||||
consensusType string
|
||||
blocksTime uint64
|
||||
sealAccounts string
|
||||
|
|
|
|||
Loading…
Reference in a new issue