Skip to content

Commit 203a4aa

Browse files
committed
Fix CTxMemPoolEntry::UpdateAncestorState: modifySigOps param type int -> int64_t
1 parent a3624dd commit 203a4aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/txmempool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ void CTxMemPoolEntry::UpdateDescendantState(int64_t modifySize, CAmount modifyFe
317317
assert(int64_t(nCountWithDescendants) > 0);
318318
}
319319

320-
void CTxMemPoolEntry::UpdateAncestorState(int64_t modifySize, CAmount modifyFee, int64_t modifyCount, int modifySigOps)
320+
void CTxMemPoolEntry::UpdateAncestorState(int64_t modifySize, CAmount modifyFee, int64_t modifyCount, int64_t modifySigOps)
321321
{
322322
nSizeWithAncestors += modifySize;
323323
assert(int64_t(nSizeWithAncestors) > 0);

src/txmempool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class CTxMemPoolEntry
109109
// Adjusts the descendant state.
110110
void UpdateDescendantState(int64_t modifySize, CAmount modifyFee, int64_t modifyCount);
111111
// Adjusts the ancestor state
112-
void UpdateAncestorState(int64_t modifySize, CAmount modifyFee, int64_t modifyCount, int modifySigOps);
112+
void UpdateAncestorState(int64_t modifySize, CAmount modifyFee, int64_t modifyCount, int64_t modifySigOps);
113113
// Updates the fee delta used for mining priority score, and the
114114
// modified fees with descendants.
115115
void UpdateFeeDelta(int64_t feeDelta);

0 commit comments

Comments
 (0)