diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-02-22 13:00:53 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-02-22 13:02:10 +0100 |
commit | 1efc99c4dc4d2f137b80ca128e6f0f6e9ad353cd (patch) | |
tree | 0e7726c3079cdeadd690b158c104d63d0b342b85 | |
parent | ba7220b5e82fcfbb7a4912a49e563944a428ab91 (diff) | |
parent | bc8fd1228930d13ec47ac4464dd13f6fb0449dc4 (diff) |
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.cpp | 5 |
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) |