Fix the crash bug Jed reported.

This commit is contained in:
JoelKatz
2012-08-02 11:33:58 -07:00
parent a902134133
commit 63576f0709

View File

@@ -533,7 +533,10 @@ void LedgerConsensus::updateOurPositions()
}
}
if (closeTime != (mOurPosition->getCloseTime() - (mOurPosition->getCloseTime() % mCloseResolution)))
{
ourPosition = mComplete[mOurPosition->getCurrentHash()]->snapShot(true);
changes = true;
}
if (changes)
{