mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
fee estimator: avoid sorting mempool on shutdown
This commit is contained in:
parent
09754063e0
commit
e868b22917
3 changed files with 9 additions and 8 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue