You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
" if (currentBalance > 0) {
totalAmountOwed -= uint256(int256(currentBalance));"
if (newBalance > 0) {
totalAmountOwed += uint256(int256(newBalance));
From the above code, it could be seen that after subtracting the currentBalance from the totalAmountOwed, the currentBalance was later added to the totalAmountOwed by adding newBalance to it. Hence newBalance = currenttBalance + amountLinkOwed.
The text was updated successfully, but these errors were encountered:
"int96 newBalance = currentBalance + amountLinkOwed;"
" if (currentBalance > 0) {
totalAmountOwed -= uint256(int256(currentBalance));"
if (newBalance > 0) {
The text was updated successfully, but these errors were encountered: