From 2fd06118f4ac95cc462feb5cad62503532234b36 Mon Sep 17 00:00:00 2001 From: dhruvja Date: Wed, 16 Oct 2024 22:06:29 +0530 Subject: [PATCH] fix clippy --- .../solana-ibc/programs/solana-ibc/src/validation_context.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/solana/solana-ibc/programs/solana-ibc/src/validation_context.rs b/solana/solana-ibc/programs/solana-ibc/src/validation_context.rs index 58b20d91..53b1f9a0 100644 --- a/solana/solana-ibc/programs/solana-ibc/src/validation_context.rs +++ b/solana/solana-ibc/programs/solana-ibc/src/validation_context.rs @@ -1,12 +1,9 @@ use std::str::FromStr; use std::time::Duration; -use anchor_lang::prelude::Pubkey; -#[cfg(feature = "witness")] -use anchor_lang::prelude::SolanaSysvar; +use anchor_lang::prelude::{Pubkey, SolanaSysvar}; use lib::hash::CryptoHash; use spl_token::solana_program::clock::Clock; -use spl_token::solana_program::sysvar::Sysvar; use crate::client_state::AnyClientState; use crate::consensus_state::AnyConsensusState;