mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
More debug.
This commit is contained in:
@@ -426,7 +426,12 @@ void LedgerMaster::tryPublish()
|
||||
else
|
||||
{
|
||||
hash = mValidLedger->getLedgerHash(seq);
|
||||
assert(hash.isNonZero());
|
||||
if (hash.isZero())
|
||||
{
|
||||
cLog(lsFATAL) << "Ledger: " << mValidLedger->getLedgerSeq() << " does not have hash for " <<
|
||||
seq;
|
||||
assert(false);
|
||||
}
|
||||
ledger = mLedgerHistory.getLedgerByHash(hash);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user