Skip to content

Commit

Permalink
minor coments
Browse files Browse the repository at this point in the history
  • Loading branch information
lemunozm committed Apr 13, 2023
1 parent bd07c5d commit 8cc72bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pallets/loans-ref/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,7 @@ mod write_off_policy {
.unwrap(),
));

// Check if a loan is
// Check if a loan is correctly writen off
let loan_id = util::create_loan(ASSET_AA, util::total_borrowed_rate(1.0));
util::borrow_loan(loan_id, COLLATERAL_VALUE);

Expand Down
4 changes: 2 additions & 2 deletions pallets/loans-ref/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ pub struct WriteOffRule<Rate> {
/// If any of the triggers is valid, the write-off rule can be applied
pub triggers: BoundedBTreeSet<WriteOffTrigger, WriteOffTrigger>,

/// Content of this write off rule
/// Content of this write off rule to be applied
pub status: WriteOffStatus<Rate>,
}

/// Diferent kinds of write off status that a loan can be
/// The status of the writen off
#[derive(
Encode,
Decode,
Expand Down

0 comments on commit 8cc72bf

Please sign in to comment.