Remove harmless read of unusued priority estimates

This commit is contained in:
Alex Morcos 2017-02-16 17:21:23 -05:00
parent 8528d6ac6d
commit bc8fd12289

View file

@ -482,10 +482,7 @@ void CBlockPolicyEstimator::Read(CAutoFile& filein, int nFileVersion)
filein >> nFileBestSeenHeight; filein >> nFileBestSeenHeight;
feeStats.Read(filein); feeStats.Read(filein);
nBestSeenHeight = nFileBestSeenHeight; nBestSeenHeight = nFileBestSeenHeight;
if (nFileVersion < 139900) { // if nVersionThatWrote < 139900 then another TxConfirmStats (for priority) follows but can be ignored.
TxConfirmStats priStats;
priStats.Read(filein);
}
} }
FeeFilterRounder::FeeFilterRounder(const CFeeRate& minIncrementalFee) FeeFilterRounder::FeeFilterRounder(const CFeeRate& minIncrementalFee)