From 806da3c6e25d7ca2725cf929a273a1caebdfc27a Mon Sep 17 00:00:00 2001 From: Pasta Date: Mon, 12 Aug 2019 09:11:29 -0500 Subject: [PATCH] adjust number of parameters in sendmany --- src/wallet/rpcwallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 5e2505c12..a6fd753cc 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -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."