diff options
author | glozow <gloriajzhao@gmail.com> | 2022-03-11 16:17:56 +0000 |
---|---|---|
committer | glozow <gloriajzhao@gmail.com> | 2022-03-14 16:02:53 +0000 |
commit | 7a8d60676bc0eec289687b2dfd5d2b00b83c0eaa (patch) | |
tree | 197bb8d22f324affecbf96523780a83ed7c7bcc2 /src/node/miner.h | |
parent | 0f9a44461c294cf21a335e8a8c13e498baac110f (diff) |
[miner] bug fix: update for parent inclusion using modified fee
Diffstat (limited to 'src/node/miner.h')
-rw-r--r-- | src/node/miner.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/miner.h b/src/node/miner.h index 97c55f2864..487969b9f0 100644 --- a/src/node/miner.h +++ b/src/node/miner.h @@ -116,7 +116,7 @@ struct update_for_parent_inclusion void operator() (CTxMemPoolModifiedEntry &e) { - e.nModFeesWithAncestors -= iter->GetFee(); + e.nModFeesWithAncestors -= iter->GetModifiedFee(); e.nSizeWithAncestors -= iter->GetTxSize(); e.nSigOpCostWithAncestors -= iter->GetSigOpCost(); } |