From 3ca95aa908cc3bd9ff9423ea0d449b2bab1ba304 Mon Sep 17 00:00:00 2001 From: jgur-psyops Date: Wed, 23 Oct 2024 11:26:02 -0400 Subject: [PATCH] Fix lint --- programs/marginfi/src/instructions/marginfi_account/borrow.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/marginfi/src/instructions/marginfi_account/borrow.rs b/programs/marginfi/src/instructions/marginfi_account/borrow.rs index 9a29a364a..3e20ffc2c 100644 --- a/programs/marginfi/src/instructions/marginfi_account/borrow.rs +++ b/programs/marginfi/src/instructions/marginfi_account/borrow.rs @@ -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 @@ -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));