diff options
| author | fanquake <[email protected]> | 2019-03-09 15:54:49 +0800 |
|---|---|---|
| committer | fanquake <[email protected]> | 2019-03-09 16:40:46 +0800 |
| commit | 3f6568d66b42bd151b26df3bd84c64959bbe3fc9 (patch) | |
| tree | 9fb19da504b49c2a78123e1c687adcdf53ec5b85 /test/functional/interface_bitcoin_cli.py | |
| parent | Merge #15549: gitian: Improve error handling (diff) | |
| download | discoin-3f6568d66b42bd151b26df3bd84c64959bbe3fc9.tar.xz discoin-3f6568d66b42bd151b26df3bd84c64959bbe3fc9.zip | |
cli: remove duplicate wallet fields from -getinfo
Diffstat (limited to 'test/functional/interface_bitcoin_cli.py')
| -rwxr-xr-x | test/functional/interface_bitcoin_cli.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/interface_bitcoin_cli.py b/test/functional/interface_bitcoin_cli.py index f44fc768d..c843d25f5 100755 --- a/test/functional/interface_bitcoin_cli.py +++ b/test/functional/interface_bitcoin_cli.py @@ -57,9 +57,6 @@ class TestBitcoinCli(BitcoinTestFramework): assert_equal(cli_get_info['version'], network_info['version']) assert_equal(cli_get_info['protocolversion'], network_info['protocolversion']) - if self.is_wallet_compiled(): - assert_equal(cli_get_info['walletversion'], wallet_info['walletversion']) - assert_equal(cli_get_info['balance'], wallet_info['balance']) assert_equal(cli_get_info['blocks'], blockchain_info['blocks']) assert_equal(cli_get_info['timeoffset'], network_info['timeoffset']) assert_equal(cli_get_info['connections'], network_info['connections']) @@ -67,6 +64,7 @@ class TestBitcoinCli(BitcoinTestFramework): assert_equal(cli_get_info['difficulty'], blockchain_info['difficulty']) assert_equal(cli_get_info['testnet'], blockchain_info['chain'] == "test") if self.is_wallet_compiled(): + assert_equal(cli_get_info['walletversion'], wallet_info['walletversion']) assert_equal(cli_get_info['balance'], wallet_info['balance']) assert_equal(cli_get_info['keypoololdest'], wallet_info['keypoololdest']) assert_equal(cli_get_info['keypoolsize'], wallet_info['keypoolsize']) |