From 828b4753fe1d105faaa399226ca165a55ee347d1 Mon Sep 17 00:00:00 2001 From: tequ Date: Fri, 10 Apr 2026 15:57:15 +0900 Subject: [PATCH] fix Wrong Account Passed to getLedgerEntryOwner in doApply --- src/libxrpl/tx/transactors/Sponsor/SponsorshipTransfer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libxrpl/tx/transactors/Sponsor/SponsorshipTransfer.cpp b/src/libxrpl/tx/transactors/Sponsor/SponsorshipTransfer.cpp index bf051a45ed..b84c840322 100644 --- a/src/libxrpl/tx/transactors/Sponsor/SponsorshipTransfer.cpp +++ b/src/libxrpl/tx/transactors/Sponsor/SponsorshipTransfer.cpp @@ -413,7 +413,7 @@ SponsorshipTransfer::doApply() if (!objSle) return tefINTERNAL; // LCOV_EXCL_LINE - auto const ownerAccountID = getLedgerEntryOwner(view(), objSle, account_); + auto const ownerAccountID = getLedgerEntryOwner(view(), objSle, sponseeAccountID); if (!ownerAccountID) return tefINTERNAL; // LCOV_EXCL_LINE