Skip to content

Commit

Permalink
fix: calify naming
Browse files Browse the repository at this point in the history
  • Loading branch information
dangerousfood committed Dec 11, 2023
1 parent 49b3b11 commit b51135f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Starport.sol
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,12 @@ contract Starport is PausableNonReentrant {
CaveatEnforcer.SignedCaveats calldata lenderCaveat,
Starport.Loan memory loan,
bytes calldata pricingData,
bytes calldata statusData
bytes calldata extraData
) external pausableNonReentrant {
if (loan.start == block.timestamp) {
revert InvalidLoan();
}
if (!Status(loan.terms.status).isActive(loan, statusData)) {
if (!Status(loan.terms.status).isActive(loan, extraData)) {
revert InvalidLoanState();
}
(
Expand Down

0 comments on commit b51135f

Please sign in to comment.