diff options
author | luigi1111 <luigi1111w@gmail.com> | 2023-04-25 11:17:22 -0400 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2023-04-25 11:17:22 -0400 |
commit | 4931462d1d1ff2a64e3e1f74a2026ea55d3b4b46 (patch) | |
tree | 5905930977710383f875a2a45b882bd8b55f2722 /src/wallet | |
parent | Merge pull request #8719 (diff) | |
parent | wallet_rpc_server: allow creating more than 64 addresses at once (diff) | |
download | monero-4931462d1d1ff2a64e3e1f74a2026ea55d3b4b46.tar.xz |
Merge pull request #8730
9e09093 wallet_rpc_server: allow creating more than 64 addresses at once (moneromooo-monero)
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index 2e12b3ea4..d11e9bc1a 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -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; } |