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
Function insert in SortedCDPs uses 2 hints, but it’s called from BorrowerOperations and CDPManager with _prevId and _nextId being the same.
In particular, when _validInsertPosition is called, it’s always going to return false, except in the trivial case where the list is empty and the hint is zero.
It makes more sense that is called with different arguments for each hint for the call from openLoan (its signature needs to be changed too).
The text was updated successfully, but these errors were encountered:
Function
insert
inSortedCDPs
uses 2 hints, but it’s called fromBorrowerOperations
andCDPManager
with_prevId
and_nextId
being the same.In particular, when
_validInsertPosition
is called, it’s always going to return false, except in the trivial case where the list is empty and the hint is zero.It makes more sense that is called with different arguments for each hint for the call from
openLoan
(its signature needs to be changed too).The text was updated successfully, but these errors were encountered: