diff --git a/justfile b/justfile index b4f7add8b..844b4e83e 100644 --- a/justfile +++ b/justfile @@ -106,15 +106,7 @@ run-local-android args="": --dart-define="REGTEST_FAUCET=http://${LOCAL_IP}:8080" --dart-define="COORDINATOR_PORT_HTTP=8000" --flavor local fund args="": - #!/usr/bin/env bash - BALANCE=$(curl -s localhost:8080/lnd/v1/balance/channels | sed 's/.*"balance":"\{0,1\}\([^,"]*\)"\{0,1\}.*/\1/') - if [ $BALANCE -lt 10000000 ] || [ "{{args}}" = "--force" ] || [ "{{args}}" = "-f" ] - then - echo "Lightning faucet balance is $BALANCE; funding..." cargo run --example fund - else - echo "Lightning faucet balance is $BALANCE; skipping funding. Pass -f or --force to force." - fi # Fund remote regtest instance fund-regtest: