From f9dc45680fa958bc89335fa50f46052e6bb29b37 Mon Sep 17 00:00:00 2001 From: brunoerg Date: Tue, 7 Jan 2025 13:33:55 -0300 Subject: [PATCH] test: importdescriptors is not available for non-descriptor wallets --- test/functional/wallet_migration.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/functional/wallet_migration.py b/test/functional/wallet_migration.py index 3a560507313..29950ced9f3 100755 --- a/test/functional/wallet_migration.py +++ b/test/functional/wallet_migration.py @@ -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()