mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 16:56:48 +00:00
fix tests
This commit is contained in:
@@ -1032,6 +1032,11 @@ NoModifiedUnmodifiableFields::finalize(
|
||||
ReadView const& view,
|
||||
beast::Journal const& j)
|
||||
{
|
||||
// LedgerStateFix repairs ledger invariants, so it may need to modify
|
||||
// fields that are otherwise immutable.
|
||||
if (tx.getTxnType() == ttLEDGER_STATE_FIX)
|
||||
return true;
|
||||
|
||||
static auto const kFieldChanged = [](auto const& before, auto const& after, auto const& field) {
|
||||
bool const beforeField = before->isFieldPresent(field);
|
||||
bool const afterField = after->isFieldPresent(field);
|
||||
|
||||
Reference in New Issue
Block a user