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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue