We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50c1218 commit 475d37dCopy full SHA for 475d37d
src/rpc/mempool.cpp
@@ -400,7 +400,7 @@ static RPCHelpMan maxmempool()
400
int64_t nMempoolSizeMin = maxmempoolMinimumBytes(mempool.m_opts.limits.descendant_size_vbytes);
401
if (nMempoolSizeMax < 0 || nMempoolSizeMax < nMempoolSizeMin)
402
throw JSONRPCError(RPC_INVALID_PARAMETER, strprintf("MaxMempool size %d is too small", nSize));
403
- mempool.m_opts.max_size_bytes = nSize;
+ mempool.m_opts.max_size_bytes = nMempoolSizeMax;
404
405
auto node_context = util::AnyPtr<NodeContext>(request.context);
406
if (node_context && node_context->chainman) {
0 commit comments