diff options
author | Lewis Marshall <lewis@lmars.net> | 2017-06-30 17:10:41 +0800 |
---|---|---|
committer | Lewis Marshall <lewis@lmars.net> | 2017-06-30 17:16:03 +0800 |
commit | c7041fe1455541e59879df2b2d36984d49d1630b (patch) | |
tree | b30345bbd8dcfcc38589abf1a17ad24c120873a9 /swarm/dev/scripts | |
parent | 41318f3776f3ecc09c2f482070bddc7433e00b14 (diff) | |
download | dexon-c7041fe1455541e59879df2b2d36984d49d1630b.tar.gz dexon-c7041fe1455541e59879df2b2d36984d49d1630b.tar.zst dexon-c7041fe1455541e59879df2b2d36984d49d1630b.zip |
cmd/swarm: Exit if --ethapi is set
The previous attempt to use --ethapi as a fallback if --ens-api is not
set does not work because --ens-api has a default value, and also
setting --ens-api to "" is the suggested way to disable ENS lookups.
Signed-off-by: Lewis Marshall <lewis@lmars.net>
Diffstat (limited to 'swarm/dev/scripts')
-rwxr-xr-x | swarm/dev/scripts/boot-cluster.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/dev/scripts/boot-cluster.sh b/swarm/dev/scripts/boot-cluster.sh index 073b095ad..98ae3c802 100755 --- a/swarm/dev/scripts/boot-cluster.sh +++ b/swarm/dev/scripts/boot-cluster.sh @@ -208,7 +208,7 @@ start_swarm_node() { --bootnodes "${BOOTNODE_URL}" --datadir "${dir}" --identity "${name}" - --ethapi "${GETH_RPC_URL}" + --ens-api "${GETH_RPC_URL}" --bzznetworkid "321" --bzzaccount "${address}" --password "${dir}/password" |