Make ledger close times increase strictly monotonically

This commit is contained in:
Nik Bougalis
2015-08-06 01:08:15 -07:00
parent a50d67257c
commit 1e9624270d
5 changed files with 16 additions and 31 deletions

View File

@@ -372,7 +372,7 @@ public:
ScopedLockType ml (m_mutex);
lastClosed->setClosed ();
lastClosed->setAccepted ();
lastClosed->setImmutable ();
mCurrentLedger.set (current);
mClosedLedger.set (lastClosed);