From ded060d7a79d588dcf17ed54782ce024c528c351 Mon Sep 17 00:00:00 2001 From: Gregory Tsipenyuk Date: Thu, 6 Aug 2026 13:00:06 -0400 Subject: [PATCH] Fix unit-test failure --- src/test/app/Invariants_test.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/test/app/Invariants_test.cpp b/src/test/app/Invariants_test.cpp index ec94bf6f3c..10179c546e 100644 --- a/src/test/app/Invariants_test.cpp +++ b/src/test/app/Invariants_test.cpp @@ -6275,7 +6275,10 @@ class Invariants_test : public beast::unit_test::Suite }, XRPAmount{}, STTx{ttCONFIDENTIAL_MPT_SEND, [](STObject&) {}}, - {tecINVARIANT_FAILED, tecINVARIANT_FAILED}, + // Second pass is tef, not tec: the bumped holder MPTAmount also trips + // ValidMPTTransfer's on-failure "balance changed" check (fixCleanup3_4_0), + // which fires on the pass-2 tec input and escalates it to tef. + {tecINVARIANT_FAILED, tefINVARIANT_FAILED}, precloseConfidential); // badVersion