clang-tidy

This commit is contained in:
Valentin Balaschenko
2026-07-07 14:06:26 +01:00
parent f685d05ec0
commit 3c6c2f336b

View File

@@ -376,8 +376,10 @@ LedgerHistory::handleMismatch(
<< " validated: " << to_string(*validatedConsensusHash);
}
else
{
JLOG(j_.error()) << "MISMATCH with same consensus transaction set: "
<< to_string(*builtConsensusHash);
}
}
// Find differences between built and valid ledgers
@@ -389,8 +391,10 @@ LedgerHistory::handleMismatch(
JLOG(j_.error()) << "MISMATCH with same " << builtTx.size() << " transactions";
}
else
{
JLOG(j_.error()) << "MISMATCH with " << builtTx.size() << " built and " << validTx.size()
<< " valid transactions.";
}
JLOG(j_.error()) << "built\n" << getJson({*builtLedger, {}});
JLOG(j_.error()) << "valid\n" << getJson({*validLedger, {}});