diff --git a/src/cpp/ripple/LedgerMaster.cpp b/src/cpp/ripple/LedgerMaster.cpp index aa63876d10..c8eafcb4c7 100644 --- a/src/cpp/ripple/LedgerMaster.cpp +++ b/src/cpp/ripple/LedgerMaster.cpp @@ -406,7 +406,7 @@ void LedgerMaster::checkPublish(const uint256& hash, uint32 seq) } } - if (!mPubThread) + if (!mPubLedgers.empty() && !mPubThread) { mPubThread = true; theApp->getJobQueue().addJob(jtPUBLEDGER, boost::bind(&LedgerMaster::pubThread, this));