diff --git a/src/REVLoans.sol b/src/REVLoans.sol index 07ece1f3..b19a36d2 100644 --- a/src/REVLoans.sol +++ b/src/REVLoans.sol @@ -665,7 +665,7 @@ contract REVLoans is ERC721, ERC2771Context, Ownable, IREVLoans { /// @param loanId The ID of the loan being adjusted. /// @param maxRepayBorrowAmount The maximum amount being paid off, denominated in the token of the source's /// accounting context. - /// @param collateralCountToReturn The amount of collateral to return being returned from the loan. + /// @param collateralCountToReturn The amount of collateral being returned from the loan. /// @param beneficiary The address receiving the returned collateral and any tokens resulting from paying fees. /// @param allowance An allowance to faciliate permit2 interactions. /// @return paidOffLoanId The ID of the loan after it's been paid off. diff --git a/src/interfaces/IREVLoans.sol b/src/interfaces/IREVLoans.sol index 3eb0c1dc..1456e9bc 100644 --- a/src/interfaces/IREVLoans.sol +++ b/src/interfaces/IREVLoans.sol @@ -107,7 +107,7 @@ interface IREVLoans { function repayLoan( uint256 loanId, uint256 maxRepayBorrowAmount, - uint256 newCollateral, + uint256 collateralCountToReturn, address payable beneficiary, JBSingleAllowance calldata allowance )