diff options
author | Gregory Sanders <gsanders87@gmail.com> | 2019-07-31 13:21:00 -0400 |
---|---|---|
committer | Gregory Sanders <gsanders87@gmail.com> | 2019-10-03 14:03:27 -0400 |
commit | 8e59af55aaf1b196575084bce2448af02d97d745 (patch) | |
tree | 066de49201c9a95482cc601fbe385195c991752c /src/txmempool.cpp | |
parent | a689c119076c7b8dc5b4dea4539e4cbf5adfb72f (diff) |
feefilter: Compute the absolute fee rather than stored rate to match mempool acceptance logic
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r-- | src/txmempool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 835b8d63bd..e4c1fd4bc6 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -773,7 +773,7 @@ void CTxMemPool::queryHashes(std::vector<uint256>& vtxid) const } static TxMempoolInfo GetInfo(CTxMemPool::indexed_transaction_set::const_iterator it) { - return TxMempoolInfo{it->GetSharedTx(), it->GetTime(), CFeeRate(it->GetFee(), it->GetTxSize()), it->GetModifiedFee() - it->GetFee()}; + return TxMempoolInfo{it->GetSharedTx(), it->GetTime(), it->GetFee(), it->GetTxSize(), it->GetModifiedFee() - it->GetFee()}; } std::vector<TxMempoolInfo> CTxMemPool::infoAll() const |