This commit is contained in:
JoelKatz
2012-05-31 21:16:08 -07:00
parent 41f603d224
commit d49b2a6885

View File

@@ -374,7 +374,7 @@ bool LedgerConsensus::updateOurPositions(int sinceClose)
{
if (it->second->updatePosition(sinceClose))
{
if (changes)
if (!changes)
{
ourPosition = mComplete[mOurPosition->getCurrentHash()]->snapShot();
changes = true;
@@ -385,7 +385,7 @@ bool LedgerConsensus::updateOurPositions(int sinceClose)
ourPosition->addItem(SHAMapItem(it->first, it->second->peekTransaction()), true);
addedTx.push_back(it->first);
}
else // now a no
else // now a no
{
ourPosition->delItem(it->first);
removedTx.push_back(it->first);