Skip to content

Commit

Permalink
chore: increase synced_to_graph wait time
Browse files Browse the repository at this point in the history
  • Loading branch information
vindard committed Dec 18, 2023
1 parent 1cf25ff commit 40f60ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/bin/init-lightning.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand All @@ -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" \
Expand Down

0 comments on commit 40f60ef

Please sign in to comment.