File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -386,8 +386,8 @@ UniValue MempoolInfoToJSON(const CTxMemPool& pool)
386
386
ret.pushKV (" bytes" , (int64_t )pool.GetTotalTxSize ());
387
387
ret.pushKV (" usage" , (int64_t )pool.DynamicMemoryUsage ());
388
388
ret.pushKV (" total_fee" , ValueFromAmount (pool.GetTotalFee ()));
389
- size_t maxmempool = gArgs .GetIntArg (" -maxmempool" , DEFAULT_MAX_MEMPOOL_SIZE) * 1000000 ;
390
- ret.pushKV (" maxmempool" , ( int64_t ) maxmempool);
389
+ int64_t maxmempool{ gArgs .GetIntArg (" -maxmempool" , DEFAULT_MAX_MEMPOOL_SIZE) * 1000000 } ;
390
+ ret.pushKV (" maxmempool" , maxmempool);
391
391
ret.pushKV (" mempoolminfee" , ValueFromAmount (std::max (pool.GetMinFee (maxmempool), ::minRelayTxFee).GetFeePerK ()));
392
392
ret.pushKV (" minrelaytxfee" , ValueFromAmount (::minRelayTxFee.GetFeePerK ()));
393
393
ret.pushKV (" unbroadcastcount" , uint64_t {pool.GetUnbroadcastTxs ().size ()});
You can’t perform that action at this time.
0 commit comments