From 02fba4c9988f07b70f2a66b0e876e32cfaaa0fac Mon Sep 17 00:00:00 2001 From: Mayukha Vadari Date: Wed, 6 May 2026 15:42:42 -0400 Subject: [PATCH] remove bad assert --- src/libxrpl/tx/invariants/InvariantCheck.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libxrpl/tx/invariants/InvariantCheck.cpp b/src/libxrpl/tx/invariants/InvariantCheck.cpp index c567adf73f..15708ee0d5 100644 --- a/src/libxrpl/tx/invariants/InvariantCheck.cpp +++ b/src/libxrpl/tx/invariants/InvariantCheck.cpp @@ -1000,8 +1000,6 @@ hasConstantFieldChanged(STObject const& before, STObject const& after, SOTemplat bool const bPresent = (bField != nullptr) && bField->getSType() != STI_NOTPRESENT; bool const aPresent = (aField != nullptr) && aField->getSType() != STI_NOTPRESENT; - XRPL_ASSERT( - constant != SoeImmutable, "xrpl::hasConstantFieldChanged : constant is invalid"); if (constant == SoeImmutable) { if (elem.style() == SoeOptional)