Merge pull request #10096

751061c wallet_rpc_server: allow creating more than 64 addresses at once (moneromooo-monero)
This commit is contained in:
tobtoht 2025-09-24 20:47:59 +00:00
commit 6382e1e3f7
No known key found for this signature in database
GPG Key ID: E45B10DD027D2472

View File

@ -734,9 +734,9 @@ namespace tools
CHECK_IF_BACKGROUND_SYNCING();
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;
}