You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert_raises_rpc_error(-4, "Error: Unable to produce descriptors for this legacy wallet. Make sure to provide the wallet's passphrase if it is encrypted.", wallet.migratewallet)
411
+
412
+
wallet.migratewallet(passphrase="pass")
404
413
405
-
assert_raises_rpc_error(-15, "Error: migratewallet on encrypted wallets is currently unsupported.", wallet.migratewallet)
406
-
# TODO: Fix migratewallet so that we can actually migrate encrypted wallets
414
+
info=wallet.getwalletinfo()
415
+
assert_equal(info["descriptors"], True)
416
+
assert_equal(info["format"], "sqlite")
417
+
wallet.gettransaction(txid)
418
+
419
+
assert_equal(bals, wallet.getbalances())
420
+
421
+
deftest_unloaded(self):
422
+
self.log.info("Test migration of a wallet that isn't loaded")
0 commit comments