cmd/bootnode: stop after generating/writing nodekey

pull/14372/head
Bas van Kervel 8 years ago
parent d2fda73ad7
commit ecec454e92
No known key found for this signature in database
GPG Key ID: BFB23B252EF5812B
  1. 1
      cmd/bootnode/main.go

@ -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…
Cancel
Save