From 14f4100e1b810c174b39ec74b3e847f765767609 Mon Sep 17 00:00:00 2001 From: Kim De Mey Date: Mon, 27 Feb 2023 20:39:50 +0100 Subject: [PATCH] Fix Nimbus EL node index in local testnet script (#4671) --- scripts/launch_local_testnet.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/launch_local_testnet.sh b/scripts/launch_local_testnet.sh index 4ca85c90c..c389defaa 100755 --- a/scripts/launch_local_testnet.sh +++ b/scripts/launch_local_testnet.sh @@ -494,9 +494,9 @@ if [[ "${OS}" != "windows" ]]; then # Stop Nimbus EL nodes if [[ "${RUN_NIMBUS_ETH1}" == "1" ]]; then for NIMBUS_ETH1_NODE_IDX in $(seq 0 $NIMBUS_ETH1_LAST_NODE_IDX); do - for PORT in ${NIMBUS_ETH1_NET_PORTS[GETH_NODE_IDX]} \ - ${NIMBUS_ETH1_RPC_PORTS[GETH_NODE_IDX]} \ - ${NIMBUS_ETH1_AUTH_RPC_PORTS[GETH_NODE_IDX]}; + for PORT in ${NIMBUS_ETH1_NET_PORTS[NIMBUS_ETH1_NODE_IDX]} \ + ${NIMBUS_ETH1_RPC_PORTS[NIMBUS_ETH1_NODE_IDX]} \ + ${NIMBUS_ETH1_AUTH_RPC_PORTS[NIMBUS_ETH1_NODE_IDX]}; do PORTS_TO_KILL+=("${PORT}") done