mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-24 18:23:26 -03:00
Merge 6b6b559d0f
into 433412fd84
This commit is contained in:
commit
014ec9ec87
1 changed files with 2 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue