mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-27 18:01:39 +02:00
test: check that creating a wallet does not log version info
Github-Pull: #32553
Rebased-From: 4b2cd0b41f
This commit is contained in:
@@ -189,7 +189,8 @@ class CreateWalletTest(BitcoinTestFramework):
|
||||
})
|
||||
|
||||
self.log.info("Check that the version number is being logged correctly")
|
||||
node.createwallet("version_check")
|
||||
with node.assert_debug_log(expected_msgs=[], unexpected_msgs=["Last client version = ", "Wallet file version = "]):
|
||||
node.createwallet("version_check")
|
||||
wallet = node.get_wallet_rpc("version_check")
|
||||
wallet_version = wallet.getwalletinfo()["walletversion"]
|
||||
client_version = node.getnetworkinfo()["version"]
|
||||
|
Reference in New Issue
Block a user