Use CAmount for fee delta and modified fee

This commit is contained in:
MarcoFalke 2022-03-21 11:57:21 +01:00
parent fa8857c3f7
commit fa84a49526
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
3 changed files with 6 additions and 6 deletions

View file

@ -89,7 +89,7 @@ CTxMemPoolEntry::CTxMemPoolEntry(const CTransactionRef& tx, CAmount fee,
nModFeesWithAncestors{nFee},
nSigOpCostWithAncestors{sigOpCost} {}
void CTxMemPoolEntry::UpdateFeeDelta(int64_t newFeeDelta)
void CTxMemPoolEntry::UpdateFeeDelta(CAmount newFeeDelta)
{
nModFeesWithDescendants += newFeeDelta - feeDelta;
nModFeesWithAncestors += newFeeDelta - feeDelta;