mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
Make sure we leave need network ledger mode.
This commit is contained in:
@@ -456,6 +456,7 @@ void LedgerMaster::tryPublish()
|
|||||||
|
|
||||||
if (!mPubLedgers.empty() && !mPubThread)
|
if (!mPubLedgers.empty() && !mPubThread)
|
||||||
{
|
{
|
||||||
|
theApp->getOPs().clearNeedNetworkLedger();
|
||||||
mPubThread = true;
|
mPubThread = true;
|
||||||
theApp->getJobQueue().addJob(jtPUBLEDGER, boost::bind(&LedgerMaster::pubThread, this));
|
theApp->getJobQueue().addJob(jtPUBLEDGER, boost::bind(&LedgerMaster::pubThread, this));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user