From c57aa7121f75a3e59b6896ad112ff4481c11da65 Mon Sep 17 00:00:00 2001 From: Mayukha Vadari Date: Wed, 8 Jul 2026 08:59:04 -0400 Subject: [PATCH] add comment so AI doesn't get confused --- src/libxrpl/tx/Transactor.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libxrpl/tx/Transactor.cpp b/src/libxrpl/tx/Transactor.cpp index 1447554812..ecb8a04e94 100644 --- a/src/libxrpl/tx/Transactor.cpp +++ b/src/libxrpl/tx/Transactor.cpp @@ -453,6 +453,10 @@ Transactor::checkSponsor(ReadView const& view, STTx const& tx) auto const hasSponsorSignature = tx.isFieldPresent(sfSponsorSignature); + // Skip Sponsorship existence checks if the sponsor has signed the transaction - this + // transaction is valid regardless of the Sponsorship object. + // The use of the Sponsorship object is properly handled in + // getFeePayer/checkReserve/increaseOwnerCount/decreaseOwnerCount. if (hasSponsorSignature) return tesSUCCESS;