remove lnbits from regtest

This commit is contained in:
dni 2022-07-28 09:39:04 +02:00
commit e7527957df
4 changed files with 20 additions and 68 deletions

View file

@ -75,7 +75,6 @@ lnbits-regtest-init(){
lnbits-bitcoin-init
lnbits-lightning-sync
lnbits-lightning-init
wait-for-lnbits
}
lnbits-lightning-sync(){
@ -143,18 +142,6 @@ lnbits-lightning-init(){
}
wait-for-lnbits(){
while true; do
statuscode=$(curl -s -o /dev/null -w "%{http_code}" "http://localhost:5000")
if [[ "$statuscode" == "200" ]]; then
break
echo "lnbits is online!"
fi
echo "waiting for lnbits to come online..."
sleep 1
done
}
wait-for-lnd-channel(){
while true; do
pending=$(lncli-sim $1 pendingchannels | jq -r '.pending_open_channels | length')