mirror of
https://github.com/monero-project/monero.git
synced 2025-12-08 16:11:28 +09:00
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:
parent
4610926dfc
commit
751061c846
@ -734,9 +734,9 @@ namespace tools
|
|||||||
CHECK_IF_BACKGROUND_SYNCING();
|
CHECK_IF_BACKGROUND_SYNCING();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (req.count < 1 || req.count > 64) {
|
if (req.count < 1 || req.count > 65536) {
|
||||||
er.code = WALLET_RPC_ERROR_CODE_UNKNOWN_ERROR;
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user