mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
refactor: Simply include CTxMemPool::Options in CTxMemPool directly rather than duplicating definition
This commit is contained in:
parent
63d0b930f8
commit
cc67d33fda
11 changed files with 66 additions and 92 deletions
|
|
@ -697,8 +697,8 @@ static RPCHelpMan getnetworkinfo()
|
|||
obj.pushKV("networks", GetNetworksInfo());
|
||||
if (node.mempool) {
|
||||
// Those fields can be deprecated, to be replaced by the getmempoolinfo fields
|
||||
obj.pushKV("relayfee", ValueFromAmount(node.mempool->m_min_relay_feerate.GetFeePerK()));
|
||||
obj.pushKV("incrementalfee", ValueFromAmount(node.mempool->m_incremental_relay_feerate.GetFeePerK()));
|
||||
obj.pushKV("relayfee", ValueFromAmount(node.mempool->m_opts.min_relay_feerate.GetFeePerK()));
|
||||
obj.pushKV("incrementalfee", ValueFromAmount(node.mempool->m_opts.incremental_relay_feerate.GetFeePerK()));
|
||||
}
|
||||
UniValue localAddresses(UniValue::VARR);
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue