diff options
| author | Suhas Daftuar <[email protected]> | 2018-01-19 10:38:58 -0500 |
|---|---|---|
| committer | Suhas Daftuar <[email protected]> | 2018-01-25 18:02:24 -0500 |
| commit | e868b22917aee4c888f843bd86a2bf8ea29530eb (patch) | |
| tree | c559264548ee7734ad583af45329688fbf88e21e /src/init.cpp | |
| parent | Correct mempool mapTx comment (diff) | |
| download | discoin-e868b22917aee4c888f843bd86a2bf8ea29530eb.tar.xz discoin-e868b22917aee4c888f843bd86a2bf8ea29530eb.zip | |
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 b48802637..564b2b332 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()) |