diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index 5737a4e32..d0029b73e 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -639,12 +639,6 @@ UniValue getblockhash(const UniValue& params, bool fHelp, const CPubKey& mypk) return pblockindex->GetBlockHash().GetHex(); } -UniValue getlastsegidstakes(const UniValue& params, bool fHelp, const CPubKey& mypk) -{ - UniValue ret(UniValue::VOBJ); - return ret; -} - UniValue getblockheader(const UniValue& params, bool fHelp, const CPubKey& mypk) { if (fHelp || params.size() < 1 || params.size() > 2) diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index 517f254c1..132362a88 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -90,10 +90,8 @@ static const CRPCConvertParam vRPCConvertParams[] = { "getblock", 1 }, { "getblockheader", 1 }, { "getchaintxstats", 0 }, - { "getlastsegidstakes", 0 }, { "gettransaction", 1 }, { "getrawtransaction", 1 }, - { "getlastsegidstakes", 0 }, { "createrawtransaction", 0 }, { "createrawtransaction", 1 }, { "createrawtransaction", 2 }, diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp index dea8de43d..6373d554d 100644 --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -320,7 +320,6 @@ static const CRPCCommand vRPCCommands[] = { "blockchain", "getblockhashes", &getblockhashes, true }, { "blockchain", "getblockhash", &getblockhash, true }, { "blockchain", "getblockheader", &getblockheader, true }, - { "blockchain", "getlastsegidstakes", &getlastsegidstakes, true }, { "blockchain", "getchaintips", &getchaintips, true }, { "blockchain", "getdifficulty", &getdifficulty, true }, { "blockchain", "getmempoolinfo", &getmempoolinfo, true }, diff --git a/src/rpc/server.h b/src/rpc/server.h index d0c7f1f5d..9a66fea43 100644 --- a/src/rpc/server.h +++ b/src/rpc/server.h @@ -285,7 +285,6 @@ extern UniValue getdragonjson(const UniValue& params, bool fHelp, const CPubKey& extern UniValue getnotarysendmany(const UniValue& params, bool fHelp, const CPubKey& mypk); extern UniValue geterablockheights(const UniValue& params, bool fHelp, const CPubKey& mypk); extern UniValue setpubkey(const UniValue& params, bool fHelp, const CPubKey& mypk); -extern UniValue setstakingsplit(const UniValue& params, bool fHelp, const CPubKey& mypk); extern UniValue getwalletinfo(const UniValue& params, bool fHelp, const CPubKey& mypk); extern UniValue getblockchaininfo(const UniValue& params, bool fHelp, const CPubKey& mypk); extern UniValue getnetworkinfo(const UniValue& params, bool fHelp, const CPubKey& mypk); @@ -315,7 +314,6 @@ extern UniValue getblockhashes(const UniValue& params, bool fHelp, const CPubKey extern UniValue getblockdeltas(const UniValue& params, bool fHelp, const CPubKey& mypk); extern UniValue getblockhash(const UniValue& params, bool fHelp, const CPubKey& mypk); extern UniValue getblockheader(const UniValue& params, bool fHelp, const CPubKey& mypk); -extern UniValue getlastsegidstakes(const UniValue& params, bool fHelp, const CPubKey& mypk); extern UniValue getblock(const UniValue& params, bool fHelp, const CPubKey& mypk); extern UniValue gettxoutsetinfo(const UniValue& params, bool fHelp, const CPubKey& mypk); extern UniValue gettxout(const UniValue& params, bool fHelp, const CPubKey& mypk);