mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix the crash bug Jed reported.
This commit is contained in:
@@ -533,7 +533,10 @@ void LedgerConsensus::updateOurPositions()
|
||||
}
|
||||
}
|
||||
if (closeTime != (mOurPosition->getCloseTime() - (mOurPosition->getCloseTime() % mCloseResolution)))
|
||||
{
|
||||
ourPosition = mComplete[mOurPosition->getCurrentHash()]->snapShot(true);
|
||||
changes = true;
|
||||
}
|
||||
|
||||
if (changes)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user