aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
diff options
context:
space:
mode:
authorGregory Sanders <gsanders87@gmail.com>2019-07-31 13:21:00 -0400
committerGregory Sanders <gsanders87@gmail.com>2019-10-03 14:03:27 -0400
commit8e59af55aaf1b196575084bce2448af02d97d745 (patch)
tree066de49201c9a95482cc601fbe385195c991752c /src/txmempool.cpp
parenta689c119076c7b8dc5b4dea4539e4cbf5adfb72f (diff)
downloadbitcoin-8e59af55aaf1b196575084bce2448af02d97d745.tar.xz
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.cpp2
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