mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix the bug that crashed ec3.
This commit is contained in:
@@ -169,7 +169,7 @@ bool LedgerMaster::acquireMissingLedger(Ledger::ref origLedger, const uint256& l
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
Ledger::pointer ledger = mLedgerHistory.getLedgerBySeq(ledgerSeq);
|
Ledger::pointer ledger = mLedgerHistory.getLedgerBySeq(ledgerSeq);
|
||||||
if (Ledger::getHashByIndex(ledgerSeq) == ledgerHash)
|
if (ledger && (Ledger::getHashByIndex(ledgerSeq) == ledgerHash))
|
||||||
{
|
{
|
||||||
cLog(lsDEBUG) << "Ledger hash found in database";
|
cLog(lsDEBUG) << "Ledger hash found in database";
|
||||||
mTooFast = true;
|
mTooFast = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user