From 44770e7869a8634dabd24a4b9e8c9903f7a04eb7 Mon Sep 17 00:00:00 2001 From: Alexandr Kolesov Date: Tue, 11 Jan 2022 17:01:59 +0300 Subject: [PATCH] Fix corner case where host ip is invalid at first launch --- docker/node-runner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/node-runner.sh b/docker/node-runner.sh index e1d812697..ca0277680 100644 --- a/docker/node-runner.sh +++ b/docker/node-runner.sh @@ -14,7 +14,7 @@ then cheqd-noded init $NODE_MONIKER curl -sSL "https://raw.githubusercontent.com/cheqd/cheqd-node/main/persistent_chains/${NETWORK}/genesis.json" > ${CHEQD_ROOT_DIR}/config/genesis.json curl -sSL "https://raw.githubusercontent.com/cheqd/cheqd-node/main/persistent_chains/${NETWORK}/seeds.txt" > ${CHEQD_ROOT_DIR}/config/seeds.txt - P2P_SEEDS=$(cat ${CHEQD_ROOT_DIR}/config/seeds.txt) + cheqd-noded configure p2p seeds $(cat ${CHEQD_ROOT_DIR}/config/seeds.txt) else echo "Node config exists. Skipping initialization." fi