From 937fa9a5a70c3178523734579ff56f159b06ea16 Mon Sep 17 00:00:00 2001 From: Prasanna Loganathar Date: Mon, 8 Nov 2021 22:28:55 +0530 Subject: [PATCH] Fix HelpExampleRpc messages (#883) * Fix HelpExampleRpc messages (#881) * Revert "Fix HelpExampleRpc messages (#881)" Co-authored-by: Jouzo --- src/masternodes/rpc_vault.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/masternodes/rpc_vault.cpp b/src/masternodes/rpc_vault.cpp index 3aef4e9127..30c51cfe8e 100644 --- a/src/masternodes/rpc_vault.cpp +++ b/src/masternodes/rpc_vault.cpp @@ -1030,7 +1030,7 @@ UniValue listauctions(const JSONRPCRequest& request) { return valueArr; } -UniValue auctoinhistoryToJSON(AuctionHistoryKey const & key, AuctionHistoryValue const & value) { +UniValue auctionhistoryToJSON(AuctionHistoryKey const & key, AuctionHistoryValue const & value) { UniValue obj(UniValue::VOBJ); obj.pushKV("winner", ScriptToString(key.owner)); @@ -1138,7 +1138,7 @@ UniValue listauctionhistory(const JSONRPCRequest& request) { return true; } - ret.push_back(auctoinhistoryToJSON(key, valueLazy.get())); + ret.push_back(auctionhistoryToJSON(key, valueLazy.get())); return --limit != 0; }, start);