aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2017-02-22 13:00:53 +0100
committerWladimir J. van der Laan <[email protected]>2017-02-22 13:02:10 +0100
commit1efc99c4dc4d2f137b80ca128e6f0f6e9ad353cd (patch)
tree0e7726c3079cdeadd690b158c104d63d0b342b85
parentMerge #9773: Return errors from importmulti if complete rescans are not succe... (diff)
parentRemove harmless read of unusued priority estimates (diff)
downloaddiscoin-1efc99c4dc4d2f137b80ca128e6f0f6e9ad353cd.tar.xz
discoin-1efc99c4dc4d2f137b80ca128e6f0f6e9ad353cd.zip
Merge #9819: Remove harmless read of unusued priority estimates
bc8fd12 Remove harmless read of unusued priority estimates (Alex Morcos)
-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 5407aefb4..8f6a1e60f 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)