diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2018-01-19 10:38:58 -0500 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2018-01-25 18:02:24 -0500 |
commit | e868b22917aee4c888f843bd86a2bf8ea29530eb (patch) | |
tree | c559264548ee7734ad583af45329688fbf88e21e /src/init.cpp | |
parent | 09754063e0605429680f4c58a85967777ad87cc1 (diff) |
fee estimator: avoid sorting mempool on shutdown
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index b48802637b..564b2b3328 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -205,7 +205,7 @@ void Shutdown() if (fFeeEstimatesInitialized) { - ::feeEstimator.FlushUnconfirmed(::mempool); + ::feeEstimator.FlushUnconfirmed(); fs::path est_path = GetDataDir() / FEE_ESTIMATES_FILENAME; CAutoFile est_fileout(fsbridge::fopen(est_path, "wb"), SER_DISK, CLIENT_VERSION); if (!est_fileout.IsNull()) |