diff options
author | MarcoFalke <6399679+MarcoFalke@users.noreply.github.com> | 2023-03-02 15:05:54 +0100 |
---|---|---|
committer | MarcoFalke <6399679+MarcoFalke@users.noreply.github.com> | 2023-03-02 15:05:17 +0100 |
commit | fa1b4e5c3294fc9aec033892a4a4d7b5cfc015aa (patch) | |
tree | 5665ddbd6269c9ffef0db1ed5ad5c63c0f053c5d /src/validation.h | |
parent | 1111e2f8b43cd9ed62dcf6b571a224b84fc421fd (diff) |
Use steady clock in FlushStateToDisk
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validation.h b/src/validation.h index 067d2ea6d2..d6f9509f2f 100644 --- a/src/validation.h +++ b/src/validation.h @@ -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; }; |