diff --git a/code/docker/lnbook-app/setup-channels.sh b/code/docker/setup-channels.sh similarity index 95% rename from code/docker/lnbook-app/setup-channels.sh rename to code/docker/setup-channels.sh index c9cdc8e..4c4fddd 100644 --- a/code/docker/lnbook-app/setup-channels.sh +++ b/code/docker/setup-channels.sh @@ -37,5 +37,7 @@ gloria_invoice=$(docker-compose exec -T Gloria lncli -n regtest addinvoice 10000 gloria_invoice=${gloria_invoice//\"} echo Gloria invoice ${gloria_invoice} +echo Wait for channel establihment - 60 seconds for 6 blocks +sleep 60 echo Alice pays Gloria 10k sats, routed around the network docker-compose exec -T Alice lncli -n regtest payinvoice --json --inflight_updates -f ${gloria_invoice}