Skip to content

Commit 1efc99c

Browse files
committed
Merge #9819: Remove harmless read of unusued priority estimates
bc8fd12 Remove harmless read of unusued priority estimates (Alex Morcos)
2 parents ba7220b + bc8fd12 commit 1efc99c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/policy/fees.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -482,10 +482,7 @@ void CBlockPolicyEstimator::Read(CAutoFile& filein, int nFileVersion)
482482
filein >> nFileBestSeenHeight;
483483
feeStats.Read(filein);
484484
nBestSeenHeight = nFileBestSeenHeight;
485-
if (nFileVersion < 139900) {
486-
TxConfirmStats priStats;
487-
priStats.Read(filein);
488-
}
485+
// if nVersionThatWrote < 139900 then another TxConfirmStats (for priority) follows but can be ignored.
489486
}
490487

491488
FeeFilterRounder::FeeFilterRounder(const CFeeRate& minIncrementalFee)

0 commit comments

Comments
 (0)