wallet_rpc_server: allow creating more than 64 addresses at once

it's too low a limit (at least one person mentioned having to
call create_address in a loop due to it)
This commit is contained in:
moneromooo-monero 2023-02-02 19:12:21 +00:00 committed by wowario
parent bb88fdfcdd
commit 2a8a05af56
No known key found for this signature in database
GPG Key ID: 793504B449C69220
1 changed files with 2 additions and 2 deletions

View File

@ -576,9 +576,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;
}