Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Mayukha Vadari
2026-06-18 20:23:13 -04:00
committed by GitHub
parent a7e65ea0fa
commit 971d628f6f

View File

@@ -277,9 +277,8 @@ adjustOwnerCount(
auto sponsorObjSle = view.peek(keylet::sponsorship(sponsorID, accountID));
if (sponsorObjSle && adjustment > 0)
{
// update the pre-funded ReserveCount on Sponsorship ledger object
// Reserve count moves opposite to adjustment: +adjustment => consume reserve (-),
adjustOwnerCountHlp(
// update the pre-funded RemainingOwnerCount on Sponsorship ledger object
// Remaining owner count moves opposite to adjustment: +adjustment => consume reserve (-),
view, sponsorObjSle, sfRemainingOwnerCount, sponsorID, -adjustment, j, false);
}
}