aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-02-03 03:04:00 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-02-03 03:04:00 +0800
commit1f4ed49b4c3400c8f567a29c70d4fb26df97f305 (patch)
treef16968a25055aeaee6c4a3abed731f40415f3884 /cmd/utils
parent57c6caf146a815f29b0698b8f67c827a254d7836 (diff)
downloaddexon-1f4ed49b4c3400c8f567a29c70d4fb26df97f305.tar
dexon-1f4ed49b4c3400c8f567a29c70d4fb26df97f305.tar.gz
dexon-1f4ed49b4c3400c8f567a29c70d4fb26df97f305.tar.bz2
dexon-1f4ed49b4c3400c8f567a29c70d4fb26df97f305.tar.lz
dexon-1f4ed49b4c3400c8f567a29c70d4fb26df97f305.tar.xz
dexon-1f4ed49b4c3400c8f567a29c70d4fb26df97f305.tar.zst
dexon-1f4ed49b4c3400c8f567a29c70d4fb26df97f305.zip
Move hardcoded seed node address to app flag
Replaces functionality `-seed=true` with `-seed="ip:port"`
Diffstat (limited to 'cmd/utils')
-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 43ad88c55..06c83ed49 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, UseSeed bool) {
+func StartEthereum(ethereum *eth.Ethereum, SeedNode string) {
clilogger.Infof("Starting %s", ethereum.ClientIdentity())
- err := ethereum.Start(UseSeed)
+ err := ethereum.Start(SeedNode)
if err != nil {
exit(err)
}