diff --git a/src/rpcclient.cpp b/src/rpcclient.cpp index e10aa4886..7c7dbb4e5 100644 --- a/src/rpcclient.cpp +++ b/src/rpcclient.cpp @@ -115,7 +115,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { "setban", 3 }, { "spork", 1 }, { "voteraw", 1 }, - { "voteraw", 4 }, + { "voteraw", 5 }, { "getblockhashes", 0 }, { "getblockhashes", 1 }, { "getspentinfo", 0}, diff --git a/src/rpcgovernance.cpp b/src/rpcgovernance.cpp index 4df4fd9fa..a6f93940a 100644 --- a/src/rpcgovernance.cpp +++ b/src/rpcgovernance.cpp @@ -771,7 +771,7 @@ UniValue gobject(const UniValue& params, bool fHelp) UniValue voteraw(const UniValue& params, bool fHelp) { - if (fHelp || params.size() != 6) + if (fHelp || params.size() != 7) throw std::runtime_error( "voteraw [yes|no|abstain]