Remove redundant checkAccept call

This commit is contained in:
David Schwartz
2014-05-07 13:50:40 -07:00
committed by Vinnie Falco
parent 227043e51f
commit 9a4b9aa69f

View File

@@ -241,7 +241,6 @@ public:
else
{
mLedgerHistory.builtLedger (newLCL);
checkAccept (newLCL);
}
}
@@ -770,6 +769,10 @@ public:
// Because we just built a ledger, we are no longer building one
setBuildingLedger (0);
// No need to process validations in standalone mode
if (getConfig().RUN_STANDALONE)
return;
if (ledger->getLedgerSeq() <= mValidLedgerSeq)
{
WriteLog (lsINFO, LedgerConsensus)