Fix Nimbus EL node index in local testnet script (#4671)

This commit is contained in:
Kim De Mey 2023-02-27 20:39:50 +01:00 committed by GitHub
parent 60394ba114
commit 14f4100e1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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