Use steady clock in FlushStateToDisk

This commit is contained in:
MarcoFalke
2023-03-02 15:05:54 +01:00
parent 1111e2f8b4
commit fa1b4e5c32
2 changed files with 6 additions and 6 deletions

View File

@@ -785,8 +785,8 @@ private:
void UpdateTip(const CBlockIndex* pindexNew)
EXCLUSIVE_LOCKS_REQUIRED(::cs_main);
std::chrono::microseconds m_last_write{0};
std::chrono::microseconds m_last_flush{0};
SteadyClock::time_point m_last_write{};
SteadyClock::time_point m_last_flush{};
friend ChainstateManager;
};