mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 03:18:09 -03:00
test: importdescriptors is not available for non-descriptor wallets
This commit is contained in:
parent
4036ee3f2b
commit
f9dc45680f
1 changed files with 1 additions and 0 deletions
|
@ -119,6 +119,7 @@ class WalletMigrationTest(BitcoinTestFramework):
|
|||
self.log.info("Test migration of a basic keys only wallet without balance")
|
||||
basic0 = self.create_legacy_wallet("basic0")
|
||||
|
||||
assert_raises_rpc_error(-4, "importdescriptors is not available for non-descriptor wallets", basic0.importdescriptors, [{"desc": "abc", "timestamp": "now"}])
|
||||
addr = basic0.getnewaddress()
|
||||
change = basic0.getrawchangeaddress()
|
||||
|
||||
|
|
Loading…
Reference in a new issue