mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-11 12:03:04 +02:00
Fix bitcoin-cli --version
By declaring the relevant option. Note contrib/devtools/gen-manpages.sh relies on this version information.
This commit is contained in:
@@ -15,6 +15,9 @@ class TestBitcoinCli(BitcoinTestFramework):
|
||||
def run_test(self):
|
||||
"""Main test logic"""
|
||||
|
||||
cli_response = self.nodes[0].cli("-version").send_cli()
|
||||
assert("Bitcoin Core RPC client version" in cli_response)
|
||||
|
||||
self.log.info("Compare responses from gewalletinfo RPC and `bitcoin-cli getwalletinfo`")
|
||||
cli_response = self.nodes[0].cli.getwalletinfo()
|
||||
rpc_response = self.nodes[0].getwalletinfo()
|
||||
|
Reference in New Issue
Block a user