aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2023-02-02 19:12:21 +0000
committernahuhh <50635951+nahuhh@users.noreply.github.com>2025-09-22 13:44:18 +0000
commit751061c8467dabe83577637be5b9edefdaff5ba4 (patch)
tree6b9df920171948c479bf33eb7253f7ebbdf12e85 /src
parent4610926dfc6cda8fd6d78cfce3e258060620990b (diff)
downloadmonzero-core-751061c8467dabe83577637be5b9edefdaff5ba4.tar.gz
monzero-core-751061c8467dabe83577637be5b9edefdaff5ba4.tar.xz
monzero-core-751061c8467dabe83577637be5b9edefdaff5ba4.zip
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)
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 020b16fb8..0cf75a1c4 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -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;
}