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: Wallet decryption failed, the wallet passphrase was not provided or was incorrect", wallet.migratewallet)
412
+
assert_raises_rpc_error(-4, "Error: Wallet decryption failed, the wallet passphrase was not provided or was incorrect", wallet.migratewallet, None, "badpass")
413
+
assert_raises_rpc_error(-4, "The passphrase contains a null character", wallet.migratewallet, None, "pass\0with\0null")
414
+
415
+
wallet.migratewallet(passphrase="pass")
416
+
417
+
info=wallet.getwalletinfo()
418
+
assert_equal(info["descriptors"], True)
419
+
assert_equal(info["format"], "sqlite")
420
+
assert_equal(info["unlocked_until"], 0)
421
+
wallet.gettransaction(txid)
422
+
423
+
assert_equal(bals, wallet.getbalances())
424
+
425
+
deftest_unloaded(self):
426
+
self.log.info("Test migration of a wallet that isn't loaded")
0 commit comments