Skip to content

Commit

Permalink
Fix HelpExampleRpc messages (#883)
Browse files Browse the repository at this point in the history
* Fix HelpExampleRpc messages (#881)
* Revert "Fix HelpExampleRpc messages (#881)"

Co-authored-by: Jouzo <[email protected]>
  • Loading branch information
prasannavl and Jouzo authored Nov 8, 2021
1 parent 88ef375 commit 937fa9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/masternodes/rpc_vault.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 937fa9a

Please sign in to comment.