diff --git a/dev/bin/init-lightning.sh b/dev/bin/init-lightning.sh index a77eb6526b..ef9e85cb3a 100755 --- a/dev/bin/init-lightning.sh +++ b/dev/bin/init-lightning.sh @@ -69,7 +69,7 @@ echo "Opening channel: lndoutside1 -> lnd1..." pubkey_lnd1="$(lnd_cli getinfo | jq -r '.identity_pubkey')" endpoint_lnd1="${COMPOSE_PROJECT_NAME}-lnd1-1:9735" lnd_outside_cli connect "${pubkey_lnd1}@${endpoint_lnd1}" > /dev/null 2>&1 || true -retry 10 1 synced_to_graph +retry 30 1 synced_to_graph funding_txid=$(lnd_outside_cli openchannel \ --node_key "$pubkey_lnd1" \ --local_amt "$local_amount" \ @@ -90,7 +90,7 @@ echo "Opening balanced channel: lndoutside1 -> lndoutside2..." pubkey_lnd_outside_2="$(lnd_outside_2_cli getinfo | jq -r '.identity_pubkey')" endpoint_lnd_outside_2="${COMPOSE_PROJECT_NAME}-lnd-outside-2-1:9735" lnd_outside_cli connect "${pubkey_lnd_outside_2}@${endpoint_lnd_outside_2}" > /dev/null 2>&1 || true -retry 10 1 synced_to_graph +retry 30 1 synced_to_graph funding_txid=$(lnd_outside_cli openchannel \ --node_key "$pubkey_lnd_outside_2" \ --local_amt "$local_amount" \