aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/cmd.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-02-07 07:38:36 +0800
committerFelix Lange <fjl@twurst.com>2015-02-07 07:52:49 +0800
commit028775a0863946c1e9ad51fe7b22faa5c59b2605 (patch)
treebc3962f1ad12e421cd8f67291af7a571d364b1c4 /cmd/utils/cmd.go
parent2cf4fed11b01bb99e08b838f7df2b9396f42f758 (diff)
downloadgo-tangerine-028775a0863946c1e9ad51fe7b22faa5c59b2605.tar
go-tangerine-028775a0863946c1e9ad51fe7b22faa5c59b2605.tar.gz
go-tangerine-028775a0863946c1e9ad51fe7b22faa5c59b2605.tar.bz2
go-tangerine-028775a0863946c1e9ad51fe7b22faa5c59b2605.tar.lz
go-tangerine-028775a0863946c1e9ad51fe7b22faa5c59b2605.tar.xz
go-tangerine-028775a0863946c1e9ad51fe7b22faa5c59b2605.tar.zst
go-tangerine-028775a0863946c1e9ad51fe7b22faa5c59b2605.zip
cmd/ethereum, cmd/mist: add flag for discovery bootstrap nodes
Diffstat (limited to 'cmd/utils/cmd.go')
-rw-r--r--cmd/utils/cmd.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go
index 2f48bced5..ecb847fc3 100644
--- a/cmd/utils/cmd.go
+++ b/cmd/utils/cmd.go
@@ -121,9 +121,9 @@ func exit(err error) {
os.Exit(status)
}
-func StartEthereum(ethereum *eth.Ethereum, SeedNode string) {
+func StartEthereum(ethereum *eth.Ethereum) {
clilogger.Infoln("Starting ", ethereum.Name())
- if err := ethereum.Start(SeedNode); err != nil {
+ if err := ethereum.Start(); err != nil {
exit(err)
}
RegisterInterrupt(func(sig os.Signal) {