mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix the other half of the acquire timeout bug.
This commit is contained in:
@@ -123,7 +123,8 @@ void LedgerAcquire::done()
|
||||
mOnComplete.empty();
|
||||
mLock.unlock();
|
||||
|
||||
theApp->getMasterLedger().storeLedger(mLedger);
|
||||
if (mLedger)
|
||||
theApp->getMasterLedger().storeLedger(mLedger);
|
||||
|
||||
for (int i = 0; i < triggers.size(); ++i)
|
||||
triggers[i](shared_from_this());
|
||||
|
||||
Reference in New Issue
Block a user