From c7041fe1455541e59879df2b2d36984d49d1630b Mon Sep 17 00:00:00 2001 From: Lewis Marshall Date: Fri, 30 Jun 2017 10:10:41 +0100 Subject: 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 --- swarm/dev/scripts/boot-cluster.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'swarm') 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" -- cgit