From 9bc87c80313b761efabdea192a9f64a1357d99e3 Mon Sep 17 00:00:00 2001 From: yinyiqian1 Date: Wed, 16 Sep 2026 16:55:50 -0400 Subject: [PATCH] address comments --- src/libxrpl/tx/invariants/MPTInvariant.cpp | 1 + .../tx/transactors/token/ConfidentialMPTMirrorUpdate.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libxrpl/tx/invariants/MPTInvariant.cpp b/src/libxrpl/tx/invariants/MPTInvariant.cpp index e38e8f2b93..139620994e 100644 --- a/src/libxrpl/tx/invariants/MPTInvariant.cpp +++ b/src/libxrpl/tx/invariants/MPTInvariant.cpp @@ -40,6 +40,7 @@ constexpr auto kConfidentialMptTxTypes = std::to_array({ ttCONFIDENTIAL_MPT_CONVERT_BACK, ttCONFIDENTIAL_MPT_MERGE_INBOX, ttCONFIDENTIAL_MPT_CLAWBACK, + ttCONFIDENTIAL_MPT_MIRROR_UPDATE, }); // Clamp to the cap (== INT64_MAX) before the signed conversion. Invariant diff --git a/src/libxrpl/tx/transactors/token/ConfidentialMPTMirrorUpdate.cpp b/src/libxrpl/tx/transactors/token/ConfidentialMPTMirrorUpdate.cpp index a7991a78e4..6f64611307 100644 --- a/src/libxrpl/tx/transactors/token/ConfidentialMPTMirrorUpdate.cpp +++ b/src/libxrpl/tx/transactors/token/ConfidentialMPTMirrorUpdate.cpp @@ -214,7 +214,7 @@ ConfidentialMPTMirrorUpdate::doApply() UNREACHABLE( "xrpl::ConfidentialMPTMirrorUpdate::doApply : preclaim already validated the " "issuance exists"); - return tefINTERNAL; + return tecINTERNAL; // LCOV_EXCL_STOP } @@ -229,7 +229,7 @@ ConfidentialMPTMirrorUpdate::doApply() UNREACHABLE( "xrpl::ConfidentialMPTMirrorUpdate::doApply : preclaim already validated the " "MPToken exists"); - return tefINTERNAL; + return tecINTERNAL; // LCOV_EXCL_STOP }