Bugfix. Don't use rounded ledger timing to decide when to close an idle ledger.

This commit is contained in:
JoelKatz
2012-07-16 00:06:00 -07:00
parent 3bc0f78b0c
commit d9d1d72556
3 changed files with 10 additions and 5 deletions

View File

@@ -142,6 +142,7 @@ void Application::run()
secondLedger->setAccepted();
mMasterLedger.pushLedger(secondLedger, boost::make_shared<Ledger>(true, boost::ref(*secondLedger)));
assert(!!secondLedger->getAccountState(rootAddress));
mNetOps.setLastCloseNetTime(secondLedger->getCloseTimeNC());
}
mNetOps.setStateTimer();