changeset 26697:53ca106f0e69

Remove harmless read of unusued priority estimates
author Alex Morcos <morcos@chaincode.com>
date Thu, 16 Feb 2017 17:21:23 -0500
parents b4b60ce5f4a3
children ad66a3e06b3e
files src/policy/fees.cpp
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/policy/fees.cpp	Tue Feb 21 15:13:13 2017 +0100
+++ b/src/policy/fees.cpp	Thu Feb 16 17:21:23 2017 -0500
@@ -482,10 +482,7 @@
     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)