update voteraw rpc parameters (#1249)

This commit is contained in:
snogcel 2017-01-04 10:47:16 -07:00 committed by UdjinM6
parent ba8d8ae027
commit a9e1361fc2
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "setban", 3 },
{ "spork", 1 },
{ "voteraw", 1 },
{ "voteraw", 4 },
{ "voteraw", 5 },
{ "getblockhashes", 0 },
{ "getblockhashes", 1 },
{ "getspentinfo", 0},

View File

@ -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 <masternode-tx-hash> <masternode-tx-index> <governance-hash> <vote-signal> [yes|no|abstain] <time> <vote-sig>\n"
"Compile and relay a governance vote with provided external signature instead of signing vote internally\n"