Fix count

This commit is contained in:
JoelKatz
2013-03-12 15:29:56 -07:00
parent e9a02882f1
commit dd387b840a

View File

@@ -512,7 +512,7 @@ void Ledger::saveAcceptedLedger(Job&, bool fromConsensus)
if (!fromConsensus)
dropCache();
if (theApp->getJobQueue().getJobCountTotal(jtPUBOLDLEDGER) == 0)
if (theApp->getJobQueue().getJobCountTotal(jtPUBOLDLEDGER) < 2)
theApp->getLedgerMaster().resumeAcquiring();
}