aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Chow <github@achow101.com>2022-11-29 16:05:51 -0500
committerfanquake <fanquake@gmail.com>2022-12-01 10:22:14 +0000
commit95fded106979a523431863679107810db81ca4b3 (patch)
treee161de6b977c240b5d816c0f8d19850d11085e1a /test
parentd464b2af30f2b02be2ce0b5e45dc6c141529dba5 (diff)
downloadbitcoin-95fded106979a523431863679107810db81ca4b3.tar.xz
wallet: Explicitly say migratewallet on encrypted wallets is unsupported
Github-Pull: #26594 Rebased-From: 5e65a216d1fd00c447757736d4f2899d235e731a
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/wallet_migration.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/wallet_migration.py b/test/functional/wallet_migration.py
index 355046c9af..4f060f9960 100755
--- a/test/functional/wallet_migration.py
+++ b/test/functional/wallet_migration.py
@@ -399,8 +399,7 @@ class WalletMigrationTest(BitcoinTestFramework):
wallet.encryptwallet("pass")
- wallet.walletpassphrase("pass", 10)
- assert_raises_rpc_error(-4, "Error: Unable to produce descriptors for this legacy wallet. Make sure the wallet is unlocked first", wallet.migratewallet)
+ assert_raises_rpc_error(-15, "Error: migratewallet on encrypted wallets is currently unsupported.", wallet.migratewallet)
# TODO: Fix migratewallet so that we can actually migrate encrypted wallets
def run_test(self):