aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wallet/wallet_rpc_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp
index 2e12b3ea4..d11e9bc1a 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -583,9 +583,9 @@ namespace tools
if (!m_wallet) return not_open(er);
try
{
- if (req.count < 1 || req.count > 64) {
+ if (req.count < 1 || req.count > 65536) {
er.code = WALLET_RPC_ERROR_CODE_UNKNOWN_ERROR;
- er.message = "Count must be between 1 and 64.";
+ er.message = "Count must be between 1 and 65536.";
return false;
}