Skip to content

Commit 7a8d606

Browse files
committed
[miner] bug fix: update for parent inclusion using modified fee
1 parent 0f9a444 commit 7a8d606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/miner.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ struct update_for_parent_inclusion
116116

117117
void operator() (CTxMemPoolModifiedEntry &e)
118118
{
119-
e.nModFeesWithAncestors -= iter->GetFee();
119+
e.nModFeesWithAncestors -= iter->GetModifiedFee();
120120
e.nSizeWithAncestors -= iter->GetTxSize();
121121
e.nSigOpCostWithAncestors -= iter->GetSigOpCost();
122122
}

0 commit comments

Comments
 (0)