aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorAndrew Chow <github@achow101.com>2023-07-03 21:23:24 -0400
committerAndrew Chow <github@achow101.com>2023-08-23 16:49:41 -0400
commitf41215c3f08f99d1bfa524f2da8055b6a4458bbb (patch)
tree9a3f99e476edc8e92c20e42e1fb3c51ffbc37115 /test/functional
parent71c03aeff7e1c63c21fa72d119311230f0b30e73 (diff)
test: add logging 0.17 incompatibilities in wallet back compat
Diffstat (limited to 'test/functional')
-rwxr-xr-xtest/functional/wallet_backwards_compatibility.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/wallet_backwards_compatibility.py b/test/functional/wallet_backwards_compatibility.py
index 526672e786..658c0e7480 100755
--- a/test/functional/wallet_backwards_compatibility.py
+++ b/test/functional/wallet_backwards_compatibility.py
@@ -258,11 +258,13 @@ class BackwardsCompatibilityTest(BitcoinTestFramework):
# Instead, we stop node and try to launch it with the wallet:
self.stop_node(node_v17.index)
if self.options.descriptors:
+ self.log.info("Test descriptor wallet incompatibility with 0.17")
# Descriptor wallets appear to be corrupted wallets to old software
node_v17.assert_start_raises_init_error(["-wallet=w1"], "Error: wallet.dat corrupt, salvage failed")
node_v17.assert_start_raises_init_error(["-wallet=w2"], "Error: wallet.dat corrupt, salvage failed")
node_v17.assert_start_raises_init_error(["-wallet=w3"], "Error: wallet.dat corrupt, salvage failed")
else:
+ self.log.info("Test blank wallet incompatibility with v17")
node_v17.assert_start_raises_init_error(["-wallet=w3"], "Error: Error loading w3: Wallet requires newer version of Bitcoin Core")
self.start_node(node_v17.index)