diff --git a/src/masternodes/icxorder.cpp b/src/masternodes/icxorder.cpp index e68827062d7..5dfb605b525 100644 --- a/src/masternodes/icxorder.cpp +++ b/src/masternodes/icxorder.cpp @@ -73,7 +73,7 @@ Res CICXOrderView::ICXCreateOrder(CICXOrderImpl const & order) if (order.amountFrom == 0) return Res::Err("order amountFrom must be greater than 0!"); if (order.amountToFill != order.amountFrom) - return Res::Err("order amountToFill does not equal to amountFrom!"); + return Res::Err("order amountToFill is not equal to amountFrom!"); if (order.orderPrice == 0) return Res::Err("order price must be greater than 0!"); if (order.expiry < CICXOrder::DEFAULT_EXPIRY) diff --git a/src/masternodes/mn_checks.cpp b/src/masternodes/mn_checks.cpp index c03c7c1dec6..e7167c133b1 100644 --- a/src/masternodes/mn_checks.cpp +++ b/src/masternodes/mn_checks.cpp @@ -413,7 +413,7 @@ class CCustomMetadataParseVisitor : public boost::static_visitor ss >> name; auto var = GovVariable::Create(name); if (!var) { - return Res::Err("'%s': variable does not registered", name); + return Res::Err("'%s': variable is not registered", name); } ss >> *var; obj.govs.insert(std::move(var)); @@ -431,7 +431,7 @@ class CCustomMetadataParseVisitor : public boost::static_visitor ss >> name; obj.govVar = GovVariable::Create(name); if (!obj.govVar) { - return Res::Err("'%s': variable does not registered", name); + return Res::Err("'%s': variable is not registered", name); } ss >> *obj.govVar; ss >> obj.startHeight; diff --git a/src/masternodes/rpc_vault.cpp b/src/masternodes/rpc_vault.cpp index 2a696c79654..9bcbda89ad4 100644 --- a/src/masternodes/rpc_vault.cpp +++ b/src/masternodes/rpc_vault.cpp @@ -325,7 +325,7 @@ UniValue closevault(const JSONRPCRequest& request) { // decode vaultId auto vault = pcustomcsview->GetVault(msg.vaultId); if (!vault) - throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, strprintf("Vault <%s> does not found", msg.vaultId.GetHex())); + throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, strprintf("Vault <%s> not found", msg.vaultId.GetHex())); if (vault->isUnderLiquidation) throw JSONRPCError(RPC_TRANSACTION_REJECTED, "Vault is under liquidation."); @@ -600,7 +600,7 @@ UniValue updatevault(const JSONRPCRequest& request) { // decode vaultId auto storedVault = pcustomcsview->GetVault(vaultId); if (!storedVault) - throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, strprintf("Vault <%s> does not found", vaultId.GetHex())); + throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, strprintf("Vault <%s> not found", vaultId.GetHex())); if(storedVault->isUnderLiquidation) throw JSONRPCError(RPC_TRANSACTION_REJECTED, "Vault is under liquidation."); @@ -824,7 +824,7 @@ UniValue withdrawfromvault(const JSONRPCRequest& request) { // decode vaultId auto vault = pcustomcsview->GetVault(vaultId); if (!vault) - throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, strprintf("Vault <%s> does not found", vaultId.GetHex())); + throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, strprintf("Vault <%s> not found", vaultId.GetHex())); ownerAddress = vault->ownerAddress; } @@ -1274,8 +1274,8 @@ UniValue listvaulthistory(const JSONRPCRequest& request) { "[{},{}...] (array) Objects with vault history information\n" }, RPCExamples{ - HelpExampleCli("listburnhistory", "84b22eee1964768304e624c416f29a91d78a01dc5e8e12db26bdac0670c67bb2 '{\"maxBlockHeight\":160,\"depth\":10}'") - + HelpExampleRpc("listburnhistory", "84b22eee1964768304e624c416f29a91d78a01dc5e8e12db26bdac0670c67bb2, '{\"maxBlockHeight\":160,\"depth\":10}'") + HelpExampleCli("listvaulthistory", "84b22eee1964768304e624c416f29a91d78a01dc5e8e12db26bdac0670c67bb2 '{\"maxBlockHeight\":160,\"depth\":10}'") + + HelpExampleRpc("listvaulthistory", "84b22eee1964768304e624c416f29a91d78a01dc5e8e12db26bdac0670c67bb2, '{\"maxBlockHeight\":160,\"depth\":10}'") }, }.Check(request);