From 12affccf97346ae75cdb8b8ca65a09a83a03c003 Mon Sep 17 00:00:00 2001 From: lemunozm Date: Thu, 6 Jun 2024 12:10:16 +0200 Subject: [PATCH] compilation fixes --- pallets/loans/src/benchmarking.rs | 2 +- runtime/integration-tests/src/generic/cases/loans.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pallets/loans/src/benchmarking.rs b/pallets/loans/src/benchmarking.rs index 7ce84d45a5..84c26e2a3a 100644 --- a/pallets/loans/src/benchmarking.rs +++ b/pallets/loans/src/benchmarking.rs @@ -200,7 +200,7 @@ where } fn create_mutation() -> LoanMutation { - LoanMutation::InterestPayments(InterestPayments::None) + LoanMutation::InterestPayments(InterestPayments::OnceAtMaturity) } fn propose_mutation(pool_id: T::PoolId, loan_id: T::LoanId) -> T::Hash { diff --git a/runtime/integration-tests/src/generic/cases/loans.rs b/runtime/integration-tests/src/generic/cases/loans.rs index 26fc9fb16f..dc995d7b6e 100644 --- a/runtime/integration-tests/src/generic/cases/loans.rs +++ b/runtime/integration-tests/src/generic/cases/loans.rs @@ -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 {