This commit is contained in:
Bruno Garcia 2025-01-07 01:10:04 +01:00 committed by GitHub
commit 014ec9ec87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,6 +77,8 @@ class WalletDescriptorTest(BitcoinTestFramework):
self.nodes[0].createwallet(wallet_name="legacy1", descriptors=False)
wallet_info = self.nodes[0].getwalletinfo()
assert_equal(wallet_info['format'], 'bdb')
legacy1 = self.nodes[0].get_wallet_rpc('legacy1')
assert_raises_rpc_error(-4, "importdescriptors is not available for non-descriptor wallets", legacy1.importdescriptors, [{"desc": "abc", "timestamp": "now"}])
self.nodes[0].unloadwallet("legacy1")
else:
self.log.warning("Skipping BDB test")