mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Some extra debug logging.
This commit is contained in:
@@ -421,7 +421,13 @@ void Ledger::saveAcceptedLedger(Job&, bool fromConsensus)
|
||||
assert(false);
|
||||
}
|
||||
|
||||
assert (getAccountHash() == mAccountStateMap->getHash());
|
||||
if (getAccountHash() != mAccountStateMap->getHash())
|
||||
{
|
||||
cLog(lsFATAL) << "sAL: " << getAccountHash() << " != " << mAccountStateMap->getHash();
|
||||
cLog(lsFATAL) << "saveAcceptedLedger: seq=" << mLedgerSeq << ", fromcons=" << fromConsensus;
|
||||
assert(false);
|
||||
}
|
||||
|
||||
assert (getTransHash() == mTransactionMap->getHash());
|
||||
|
||||
// Save the ledger header in the hashed object store
|
||||
|
||||
Reference in New Issue
Block a user