Skip to content

Commit

Permalink
Fix corner case where host ip is invalid at first launch
Browse files Browse the repository at this point in the history
  • Loading branch information
askolesov committed Jan 11, 2022
1 parent 5e9cd5b commit 44770e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/node-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44770e7

Please sign in to comment.