mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-04 21:04:58 +02:00
wallet: Explicitly say migratewallet on encrypted wallets is unsupported
Github-Pull: #26594
Rebased-From: 5e65a216d1
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user