File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -781,6 +781,7 @@ RPCHelpMan simulaterawtransaction()
781781static RPCHelpMan migratewallet ()
782782{
783783 return RPCHelpMan{" migratewallet" ,
784+ " \n DISABLED\n "
784785 " \n Migrate the wallet to a descriptor wallet.\n "
785786 " A new wallet backup will need to be made.\n "
786787 " \n The migration process will create a backup of the wallet before migrating. This backup\n "
@@ -819,6 +820,10 @@ static RPCHelpMan migratewallet()
819820 wallet_name = request.params [0 ].get_str ();
820821 }
821822
823+ throw JSONRPCError (RPC_WALLET_ERROR ,
824+ " migratewallet is disabled in this version." );
825+
826+ /* ELEMENTS v29: disable migratewallet
822827 SecureString wallet_pass;
823828 wallet_pass.reserve(100);
824829 if (!request.params[1].isNull()) {
@@ -842,6 +847,7 @@ static RPCHelpMan migratewallet()
842847 r.pushKV("backup_path", res->backup_path.utf8string());
843848
844849 return r;
850+ */
845851 },
846852 };
847853}
You can’t perform that action at this time.
0 commit comments