Skip to content

Commit

Permalink
test: resolve bug in test/functional/interface_bitcoin_cli.py - Test …
Browse files Browse the repository at this point in the history
…-getinfo with -rpcwallet=unloaded wallet returns no balances
  • Loading branch information
klementtan committed May 1, 2021
1 parent 480bf01 commit c5bb142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/interface_bitcoin_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def run_test(self):
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

Expand Down

0 comments on commit c5bb142

Please sign in to comment.