update voteraw rpc parameters (#1249)
This commit is contained in:
parent
ba8d8ae027
commit
a9e1361fc2
@ -115,7 +115,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
|
||||
{ "setban", 3 },
|
||||
{ "spork", 1 },
|
||||
{ "voteraw", 1 },
|
||||
{ "voteraw", 4 },
|
||||
{ "voteraw", 5 },
|
||||
{ "getblockhashes", 0 },
|
||||
{ "getblockhashes", 1 },
|
||||
{ "getspentinfo", 0},
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user