adjust number of parameters in sendmany

This commit is contained in:
Pasta 2019-08-12 09:11:29 -05:00
parent c4094c8de1
commit 806da3c6e2
No known key found for this signature in database
GPG Key ID: D362C9F7142766AE

View File

@ -982,7 +982,7 @@ UniValue sendmany(const JSONRPCRequest& request)
return NullUniValue;
}
if (request.fHelp || request.params.size() < 2 || request.params.size() > 8)
if (request.fHelp || request.params.size() < 2 || request.params.size() > 10)
throw std::runtime_error(
"sendmany \"fromaccount\" {\"address\":amount,...} ( minconf addlocked \"comment\" [\"address\",...] subtractfeefrom use_is use_ps conf_target \"estimate_mode\")\n"
"\nSend multiple times. Amounts are double-precision floating point numbers."