mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-23 15:20:54 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user