Make the dirty node save logic work during consensus ledger close.

This commit is contained in:
JoelKatz
2012-06-22 00:42:03 -07:00
parent d81b1e6c84
commit 6182c4bb51
4 changed files with 37 additions and 18 deletions

View File

@@ -752,6 +752,7 @@ void LedgerConsensus::accept(SHAMap::pointer set)
Log(lsDEBUG) << "Previous LCL " << mPrevLedgerHash.GetHex();
Ledger::pointer newLCL = boost::make_shared<Ledger>(false, boost::ref(*mPreviousLedger));
newLCL->armDirty();
#ifdef DEBUG
Json::StyledStreamWriter ssw;