aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorklementtan <klement.tan@ninjavan.co>2021-05-01 17:58:01 +0800
committerklementtan <klement.tan@ninjavan.co>2021-05-01 17:58:01 +0800
commitc5bb142817c53c6a217163958b5d511f12171004 (patch)
tree922fc385f39503b7414e34522f06c9cc1f70843d /test/functional
parent480bf01c295527bd212964efe4df3bb886db5654 (diff)
downloadbitcoin-c5bb142817c53c6a217163958b5d511f12171004.tar.xz
test: resolve bug in test/functional/interface_bitcoin_cli.py - Test -getinfo with -rpcwallet=unloaded wallet returns no balances
Diffstat (limited to 'test/functional')
-rwxr-xr-xtest/functional/interface_bitcoin_cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/interface_bitcoin_cli.py b/test/functional/interface_bitcoin_cli.py
index 2cf0ef2251..b5ce18a48b 100755
--- a/test/functional/interface_bitcoin_cli.py
+++ b/test/functional/interface_bitcoin_cli.py
@@ -151,7 +151,7 @@ class TestBitcoinCli(BitcoinTestFramework):
assert_equal(cli_get_info['balance'], amounts[1])
self.log.info("Test -getinfo with -rpcwallet=unloaded wallet returns no balances")
- cli_get_info = self.nodes[0].cli('-getinfo', rpcwallet3).send_cli()
+ cli_get_info_keys = self.nodes[0].cli('-getinfo', rpcwallet3).send_cli().keys()
assert 'balance' not in cli_get_info_keys
assert 'balances' not in cli_get_info_keys