Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jgur-psyops committed Oct 23, 2024
1 parent 3e9f7c5 commit 3ca95aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions programs/marginfi/src/instructions/marginfi_account/borrow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use crate::{
};
use anchor_lang::prelude::*;
use anchor_spl::token_interface::{TokenAccount, TokenInterface};
use fixed::{traits::Fixed, types::I80F48};
use fixed::types::I80F48;
use solana_program::{clock::Clock, sysvar::Sysvar};

/// 1. Accrue interest
Expand Down Expand Up @@ -144,7 +144,7 @@ pub fn lending_account_borrow<'info>(
let program_fee_amount: I80F48 = origination_fee
.checked_mul(program_fee_rate)
.ok_or_else(math_error!())?;
// The remainder of the origination fee go to group fees
// The remainder of the origination fee goes to group fees
bank_fees_after = bank_fees_after
.saturating_add(origination_fee.saturating_sub(program_fee_amount));

Expand Down

0 comments on commit 3ca95aa

Please sign in to comment.