Skip to content

Commit 4b2cd0b

Browse files
committed
test: check that creating a wallet does not log version info
1 parent 39a483c commit 4b2cd0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/functional/wallet_createwallet.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ def run_test(self):
166166
assert_raises_rpc_error(-4, 'descriptors argument must be set to "true"; it is no longer possible to create a legacy wallet.', self.nodes[0].createwallet, wallet_name="legacy", descriptors=False)
167167

168168
self.log.info("Check that the version number is being logged correctly")
169-
node.createwallet("version_check")
169+
with node.assert_debug_log(expected_msgs=[], unexpected_msgs=["Last client version = ", "Wallet file version = "]):
170+
node.createwallet("version_check")
170171
wallet = node.get_wallet_rpc("version_check")
171172
wallet_version = wallet.getwalletinfo()["walletversion"]
172173
client_version = node.getnetworkinfo()["version"]

0 commit comments

Comments
 (0)