aboutsummaryrefslogtreecommitdiffstats
path: root/swarm
diff options
context:
space:
mode:
authorLewis Marshall <lewis@lmars.net>2017-06-30 17:10:41 +0800
committerLewis Marshall <lewis@lmars.net>2017-06-30 17:16:03 +0800
commitc7041fe1455541e59879df2b2d36984d49d1630b (patch)
treeb30345bbd8dcfcc38589abf1a17ad24c120873a9 /swarm
parent41318f3776f3ecc09c2f482070bddc7433e00b14 (diff)
downloaddexon-c7041fe1455541e59879df2b2d36984d49d1630b.tar
dexon-c7041fe1455541e59879df2b2d36984d49d1630b.tar.gz
dexon-c7041fe1455541e59879df2b2d36984d49d1630b.tar.bz2
dexon-c7041fe1455541e59879df2b2d36984d49d1630b.tar.lz
dexon-c7041fe1455541e59879df2b2d36984d49d1630b.tar.xz
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')
-rwxr-xr-xswarm/dev/scripts/boot-cluster.sh2
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"