mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Remove redundant checkAccept call
This commit is contained in:
committed by
Vinnie Falco
parent
227043e51f
commit
9a4b9aa69f
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user