[miner] bug fix: update for parent inclusion using modified fee

This commit is contained in:
glozow committed 2022-03-14 16:02:53 +00:00
1 parent 0f9a44461c
commit 7a8d60676b
1 file changed
+1 -1
+1 -1
View File
@@ -116,7 +116,7 @@ struct update_for_parent_inclusion
void operator() (CTxMemPoolModifiedEntry &e) void operator() (CTxMemPoolModifiedEntry &e)
{ {
e.nModFeesWithAncestors -= iter->GetFee(); e.nModFeesWithAncestors -= iter->GetModifiedFee();
e.nSizeWithAncestors -= iter->GetTxSize(); e.nSizeWithAncestors -= iter->GetTxSize();
e.nSigOpCostWithAncestors -= iter->GetSigOpCost(); e.nSigOpCostWithAncestors -= iter->GetSigOpCost();
} }