fix Wrong Account Passed to getLedgerEntryOwner in doApply

This commit is contained in:
tequ
2026-04-10 15:57:15 +09:00
parent d524670bcd
commit 828b4753fe

View File

@@ -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