refactor: Make m_cs_fee_estimator non-recursive

This commit is contained in:
Hennadii Stepanov
2021-05-21 10:53:05 +03:00
parent 5ee5b696b5
commit 8c277b19c8

View File

@ -238,7 +238,7 @@ public:
EXCLUSIVE_LOCKS_REQUIRED(!m_cs_fee_estimator);
private:
mutable RecursiveMutex m_cs_fee_estimator;
mutable Mutex m_cs_fee_estimator;
unsigned int nBestSeenHeight GUARDED_BY(m_cs_fee_estimator);
unsigned int firstRecordedHeight GUARDED_BY(m_cs_fee_estimator);