diff --git a/src/rpc/rpcevo.cpp b/src/rpc/rpcevo.cpp index 349160a4b..8fe3a37d1 100644 --- a/src/rpc/rpcevo.cpp +++ b/src/rpc/rpcevo.cpp @@ -203,7 +203,7 @@ void protx_register_fund_help() " It has to match the private key which is later used when voting on proposals.\n" " If set to \"0\" or an empty string, ownerAddr will be used.\n" "6. \"operatorReward\" (numeric, required) The fraction in % to share with the operator. If non-zero,\n" - " \"ipAndPort\" must be zero as well. The value must be between 0 and 100.\n" + " \"ipAndPort\" must be zero as well. The value must be between 0.00 and 100.00.\n" "7. \"payoutAddress\" (string, required) The dash address to use for masternode reward payments\n" " Must match \"collateralAddress\"." "\nExamples:\n" @@ -329,7 +329,7 @@ UniValue protx_register(const JSONRPCRequest& request) double operatorReward = ParseDoubleV(request.params[paramIdx + 4], "operatorReward"); if (operatorReward < 0 || operatorReward > 100) { - throw JSONRPCError(RPC_INVALID_PARAMETER, "operatorReward must be between 0 and 100"); + throw JSONRPCError(RPC_INVALID_PARAMETER, "operatorReward must be between 0.00 and 100.00"); } ptx.nOperatorReward = (uint16_t)(operatorReward * 100);