refactor: replace m_last_write with m_next_write

Co-Authored-By: l0rinc <pap.lorinc@gmail.com>
This commit is contained in:
Andrew Toth
2024-09-08 11:48:53 -04:00
parent b557fa7a17
commit 2e2f410681
2 changed files with 6 additions and 7 deletions

View File

@@ -803,7 +803,7 @@ private:
void UpdateTip(const CBlockIndex* pindexNew)
EXCLUSIVE_LOCKS_REQUIRED(::cs_main);
NodeClock::time_point m_last_write{};
NodeClock::time_point m_next_write{NodeClock::time_point::max()};
/**
* In case of an invalid snapshot, rename the coins leveldb directory so