Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/setup-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ echo - Waiting for bitcoind to warm up...
btc -rpcwait getblockchaininfo > /dev/null

echo - Creating wallets...
btc createwallet internal > /dev/null
btc createwallet bwt true true > /dev/null
btc createwallet internal false false "" false false > /dev/null
btc createwallet bwt true true "" false false > /dev/null

echo - Generating some blocks...
btc generatetoaddress 110 `btc getnewaddress` > /dev/null
Expand Down
2 changes: 1 addition & 1 deletion test/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if [[ $FEATURES == *"electrum"* ]]; then
test `jq -r '.transactions | length' <<< "$hist"` == 2
test `jq -r .transactions[0].confirmations <<< "$hist"` == 1
test `jq -r .transactions[1].confirmations <<< "$hist"` == 0
test `jq -r .summary.end_balance <<< "$hist"` == 6.912
test `jq -r .summary.end.BTC_balance <<< "$hist"` == 6.912
test `jq -r .transactions[0].bc_value <<< "$hist" | cut -d' ' -f1` == 1.234

echo - Testing listunspent
Expand Down