mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 03:02:37 +02:00
[miner] bug fix: update for parent inclusion using modified fee
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user