@@ -422,24 +422,6 @@ static RPCHelpMan sendtoaddress()
422422 };
423423}
424424
425- // DEPRECATED
426- static RPCHelpMan instantsendtoaddress ()
427- {
428- return RPCHelpMan{" instantsendtoaddress" ,
429- " instantsendtoaddress is deprecated and sendtoaddress should be used instead" ,
430- {},
431- RPCResult{
432- RPCResult::Type::STR_HEX, " txid" , " The transaction id."
433- },
434- RPCExamples{" " },
435- [&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
436- {
437- LogPrintf (" WARNING: Used deprecated RPC method 'instantsendtoaddress'! Please use 'sendtoaddress' instead\n " );
438- return sendtoaddress ().HandleRequest (request);
439- },
440- };
441- }
442-
443425static RPCHelpMan listaddressgroupings ()
444426{
445427 return RPCHelpMan{" listaddressgroupings" ,
@@ -4639,7 +4621,6 @@ Span<const CRPCCommand> GetWalletRPCCommands()
46394621static const CRPCCommand commands[] =
46404622{ // category actor (function)
46414623 // ------------------ ------------------------
4642- { " hidden" , &instantsendtoaddress, },
46434624 { " rawtransactions" , &fundrawtransaction, },
46444625 { " wallet" , &abandontransaction, },
46454626 { " wallet" , &abortrescan, },
0 commit comments