diff --git a/docker/dev.sh b/docker/dev.sh index b848878..56e5656 100755 --- a/docker/dev.sh +++ b/docker/dev.sh @@ -281,10 +281,12 @@ ensure_lnd4_channel() { # Verify graph has propagated by checking if lnd-3 can route to lnd-4 local route_attempts=0 - while [[ $route_attempts -lt 12 ]]; do + while [[ $route_attempts -lt 15 ]]; do local route=$(docker exec lnbits-lnd-3-1 lncli --network=regtest --rpcserver=lnd-3:10009 \ queryroutes --dest "$lnd4_pubkey" --amt 10000 2>&1) if echo "$route" | grep -q '"total_amt"'; then + # Route found - wait a bit more for full sync before payments + sleep 10 break fi sleep 5