From f52f2c096a1ba79e7528095dc87552879c53bc24 Mon Sep 17 00:00:00 2001 From: Sandipan Dey Date: Fri, 28 Jul 2023 16:45:23 +0530 Subject: [PATCH] debug: show btc address - how can it be null --- tests/e2e/helpers.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/e2e/helpers.bash b/tests/e2e/helpers.bash index 4e4b438..c337921 100644 --- a/tests/e2e/helpers.bash +++ b/tests/e2e/helpers.bash @@ -33,6 +33,7 @@ galoy_cli_setup() { bitcoind_setup() { bitcoin_cli_cmd createwallet "galoycli" || true bitcoin_cli_cmd -generate 101 + sleep 10 } login_user() { @@ -73,7 +74,10 @@ fund_user() { start_balance=$(get_balance $wallet_type) + galoy_cli_cmd receive --wallet $wallet_type --via onchain btc_address=$(galoy_cli_cmd receive --wallet $wallet_type --via onchain | jq -r '.address') + echo "btc_address:" $btc_address + bitcoin_cli_cmd sendtoaddress "$btc_address" $btc_amount bitcoin_cli_cmd -generate 10