Skip to content

Commit

Permalink
compilation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lemunozm committed Jun 6, 2024
1 parent f9db4fc commit 12affcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pallets/loans/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ where
}

fn create_mutation() -> LoanMutation<T::Rate> {
LoanMutation::InterestPayments(InterestPayments::None)
LoanMutation::InterestPayments(InterestPayments::OnceAtMaturity)
}

fn propose_mutation(pool_id: T::PoolId, loan_id: T::LoanId) -> T::Hash {
Expand Down
2 changes: 1 addition & 1 deletion runtime/integration-tests/src/generic/cases/loans.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ mod common {
date: now + SECONDS_PER_MINUTE,
extension: SECONDS_PER_MINUTE / 2,
},
interest_payments: InterestPayments::None,
interest_payments: InterestPayments::OnceAtMaturity,
pay_down_schedule: PayDownSchedule::None,
},
interest_rate: InterestRate::Fixed {
Expand Down

0 comments on commit 12affcc

Please sign in to comment.