Skip to content

Commit

Permalink
test: importdescriptors is not available for non-descriptor wallets
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoerg committed Jan 7, 2025
1 parent 4036ee3 commit f9dc456
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/functional/wallet_migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def test_basic(self):
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()

Expand Down

0 comments on commit f9dc456

Please sign in to comment.