diff --git a/bats/core/api/ln-send.bats b/bats/core/api/ln-send.bats index d923e0cffb0..81085f5238e 100644 --- a/bats/core/api/ln-send.bats +++ b/bats/core/api/ln-send.bats @@ -19,6 +19,9 @@ setup_file() { create_user 'lnd_funding' fund_user_lightning 'lnd_funding' 'lnd_funding.btc_wallet_id' '5000000' fi + lnd1_balance=$(lnd_cli channelbalance | jq -r '.balance') + echo "HERE 0: $lnd1_balance" >> "$TILT_LOG_FILE" + echo "HERE 0: $lnd1_balance" create_user "$ALICE" user_update_username "$ALICE" @@ -55,6 +58,10 @@ usd_amount=50 exec_graphql "$token_name" 'ln-invoice-fee-probe' "$variables" fee_amount="$(graphql_output '.data.lnInvoiceFeeProbe.amount')" + echo "HERE 1: $output" + echo "HERE 1: $output" >> "$TILT_LOG_FILE" + echo "HERE 2: $fee_amount" + echo "HERE 2: $fee_amount" >> "$TILT_LOG_FILE" [[ "${fee_amount}" = "0" ]] || exit 1 exec_graphql "$token_name" 'ln-invoice-payment-send' "$variables"