From 29bfe3d74856c9cbfb34a4a7bc80cf240e7baaec Mon Sep 17 00:00:00 2001 From: 0xripleys <0xripleys@solend.fi> Date: Wed, 10 Jan 2024 14:12:09 -0500 Subject: [PATCH] clippy --- Anchor.toml | 1 + token-lending/wrapper/src/entrypoint.rs | 2 +- token-lending/wrapper/src/processor.rs | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Anchor.toml b/Anchor.toml index c3690eaf173..99e41a9b8f5 100644 --- a/Anchor.toml +++ b/Anchor.toml @@ -4,6 +4,7 @@ anchor_version = "0.13.2" members = [ "token-lending/program", "token-lending/brick", + "token-lending/wrapper", ] [provider] diff --git a/token-lending/wrapper/src/entrypoint.rs b/token-lending/wrapper/src/entrypoint.rs index 2b0d69aef1a..549847ed6c1 100644 --- a/token-lending/wrapper/src/entrypoint.rs +++ b/token-lending/wrapper/src/entrypoint.rs @@ -5,7 +5,7 @@ use crate::processor; use solana_program::{ account_info::AccountInfo, entrypoint, entrypoint::ProgramResult, - program_error::PrintProgramError, pubkey::Pubkey, + pubkey::Pubkey, }; entrypoint!(process_instruction); diff --git a/token-lending/wrapper/src/processor.rs b/token-lending/wrapper/src/processor.rs index b155ce1846b..929fc0bbaea 100644 --- a/token-lending/wrapper/src/processor.rs +++ b/token-lending/wrapper/src/processor.rs @@ -2,7 +2,6 @@ use borsh::{BorshDeserialize, BorshSerialize}; use num_derive::FromPrimitive; -use num_traits::FromPrimitive; use solana_program::pubkey::PUBKEY_BYTES; use solana_program::{ account_info::{next_account_info, AccountInfo},