Skip to content

Commit f41215c

Browse files
committed
test: add logging 0.17 incompatibilities in wallet back compat
1 parent 71c03ae commit f41215c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/functional/wallet_backwards_compatibility.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,13 @@ def run_test(self):
258258
# Instead, we stop node and try to launch it with the wallet:
259259
self.stop_node(node_v17.index)
260260
if self.options.descriptors:
261+
self.log.info("Test descriptor wallet incompatibility with 0.17")
261262
# Descriptor wallets appear to be corrupted wallets to old software
262263
node_v17.assert_start_raises_init_error(["-wallet=w1"], "Error: wallet.dat corrupt, salvage failed")
263264
node_v17.assert_start_raises_init_error(["-wallet=w2"], "Error: wallet.dat corrupt, salvage failed")
264265
node_v17.assert_start_raises_init_error(["-wallet=w3"], "Error: wallet.dat corrupt, salvage failed")
265266
else:
267+
self.log.info("Test blank wallet incompatibility with v17")
266268
node_v17.assert_start_raises_init_error(["-wallet=w3"], "Error: Error loading w3: Wallet requires newer version of Bitcoin Core")
267269
self.start_node(node_v17.index)
268270

0 commit comments

Comments
 (0)