diff options
| author | Gregory Sanders <[email protected]> | 2019-07-31 13:21:00 -0400 |
|---|---|---|
| committer | Gregory Sanders <[email protected]> | 2019-10-03 14:03:27 -0400 |
| commit | 8e59af55aaf1b196575084bce2448af02d97d745 (patch) | |
| tree | 066de49201c9a95482cc601fbe385195c991752c /src/txmempool.cpp | |
| parent | Merge #16524: Wallet: Disable -fallbackfee by default (diff) | |
| download | discoin-8e59af55aaf1b196575084bce2448af02d97d745.tar.xz discoin-8e59af55aaf1b196575084bce2448af02d97d745.zip | |
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 835b8d63b..e4c1fd4bc 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 |