Merge pull request #8730

9e09093 wallet_rpc_server: allow creating more than 64 addresses at once (moneromooo-monero)
This commit is contained in:
luigi1111 2023-04-25 11:17:22 -04:00
commit 4931462d1d
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}