diff options
Diffstat (limited to 'script/test_btc_reconnect.sh')
-rw-r--r-- | script/test_btc_reconnect.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/script/test_btc_reconnect.sh b/script/test_btc_reconnect.sh index 3ab9292..32088b8 100644 --- a/script/test_btc_reconnect.sh +++ b/script/test_btc_reconnect.sh @@ -13,7 +13,7 @@ echo "Start database" setup_db echo "Start bitcoin node" init_btc -echo "Start bitcoin regtest" +echo "Setup bitcoin" setup_btc echo "Start btc-wire" btc_wire @@ -40,9 +40,7 @@ btc-wire-cli -d $BTC_DIR transfer 0.00004 next_btc check_balance 9.99948077 0.00050200 echo "Stop bitcoin node" -PID=`jobs -p bitcoind` -kill $PID -wait $PID +stop_btc echo -n "Requesting exchange incoming transaction list:" taler-exchange-wire-gateway-client -b $BANK_ENDPOINT -i 2>&1 | grep -q "504" && echo " OK" || echo " Failed" |