From dd387b840a746034d953fbe525839021168cdda7 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 12 Mar 2013 15:29:56 -0700 Subject: [PATCH] Fix count --- src/cpp/ripple/Ledger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/ripple/Ledger.cpp b/src/cpp/ripple/Ledger.cpp index 52ce07c50..e3d407f8c 100644 --- a/src/cpp/ripple/Ledger.cpp +++ b/src/cpp/ripple/Ledger.cpp @@ -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(); }