aboutsummaryrefslogtreecommitdiff
path: root/src/policy
diff options
context:
space:
mode:
authorAlex Morcos <morcos@chaincode.com>2017-02-16 17:21:23 -0500
committerAlex Morcos <morcos@chaincode.com>2017-02-21 11:12:44 -0500
commitbc8fd1228930d13ec47ac4464dd13f6fb0449dc4 (patch)
tree5c882a53e913e7f08b0447178799ee625135244f /src/policy
parent8528d6ac6d51fe1a2d6fc9f0e2591c5503798bd5 (diff)
Remove harmless read of unusued priority estimates
Diffstat (limited to 'src/policy')
-rw-r--r--src/policy/fees.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/policy/fees.cpp b/src/policy/fees.cpp
index 5407aefb45..8f6a1e60f4 100644
--- a/src/policy/fees.cpp
+++ b/src/policy/fees.cpp
@@ -482,10 +482,7 @@ void CBlockPolicyEstimator::Read(CAutoFile& filein, int nFileVersion)
filein >> nFileBestSeenHeight;
feeStats.Read(filein);
nBestSeenHeight = nFileBestSeenHeight;
- if (nFileVersion < 139900) {
- TxConfirmStats priStats;
- priStats.Read(filein);
- }
+ // if nVersionThatWrote < 139900 then another TxConfirmStats (for priority) follows but can be ignored.
}
FeeFilterRounder::FeeFilterRounder(const CFeeRate& minIncrementalFee)