mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
cmd/bootnode: stop after generating/writing nodekey
This commit is contained in:
parent
d2fda73ad7
commit
ecec454e92
1 changed files with 1 additions and 0 deletions
|
|
@ -68,6 +68,7 @@ func main() {
|
|||
if err = crypto.SaveECDSA(*genKey, nodeKey); err != nil {
|
||||
utils.Fatalf("%v", err)
|
||||
}
|
||||
return
|
||||
case *nodeKeyFile == "" && *nodeKeyHex == "":
|
||||
utils.Fatalf("Use -nodekey or -nodekeyhex to specify a private key")
|
||||
case *nodeKeyFile != "" && *nodeKeyHex != "":
|
||||
|
|
|
|||
Loading…
Reference in a new issue