aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorBas van Kervel <basvankervel@gmail.com>2017-04-24 16:40:20 +0800
committerBas van Kervel <basvankervel@gmail.com>2017-04-24 16:40:20 +0800
commitecec454e92537c9c5e6969e589e7ffcf40e4c8e8 (patch)
treeedb18531d034e4a870195802c124f94ec645bcb9 /cmd
parentd2fda73ad7f4771dadb265d1cbfaecaaabb2cb42 (diff)
downloadgo-tangerine-ecec454e92537c9c5e6969e589e7ffcf40e4c8e8.tar
go-tangerine-ecec454e92537c9c5e6969e589e7ffcf40e4c8e8.tar.gz
go-tangerine-ecec454e92537c9c5e6969e589e7ffcf40e4c8e8.tar.bz2
go-tangerine-ecec454e92537c9c5e6969e589e7ffcf40e4c8e8.tar.lz
go-tangerine-ecec454e92537c9c5e6969e589e7ffcf40e4c8e8.tar.xz
go-tangerine-ecec454e92537c9c5e6969e589e7ffcf40e4c8e8.tar.zst
go-tangerine-ecec454e92537c9c5e6969e589e7ffcf40e4c8e8.zip
cmd/bootnode: stop after generating/writing nodekey
Diffstat (limited to 'cmd')
-rw-r--r--cmd/bootnode/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/bootnode/main.go b/cmd/bootnode/main.go
index a5e82d145..e1734d89a 100644
--- a/cmd/bootnode/main.go
+++ b/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 != "":