Skip to content

Commit

Permalink
Fix check for number of params to protx_update_service (#2443)
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock authored Nov 14, 2018
1 parent 7c1f110 commit d130f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/rpcevo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ void protx_update_service_help()

UniValue protx_update_service(const JSONRPCRequest& request)
{
if (request.fHelp || (request.params.size() != 3 && request.params.size() != 4))
if (request.fHelp || (request.params.size() != 4 && request.params.size() != 5))
protx_update_service_help();

CProUpServTx ptx;
Expand Down

0 comments on commit d130f25

Please sign in to comment.