From f0cc9ae7e0ce75ad45a8c3b4c5348e2a9cf1fba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wei=C3=9Fer=20Hase?= Date: Fri, 20 Sep 2024 16:04:07 +0200 Subject: [PATCH] fix: build warnings --- program/tests/functional.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/program/tests/functional.rs b/program/tests/functional.rs index 51b5ff1..691e16a 100644 --- a/program/tests/functional.rs +++ b/program/tests/functional.rs @@ -2,10 +2,10 @@ use std::str::FromStr; use solana_program::{ - hash::Hash, program_error::ProgramError, pubkey::Pubkey, rent::Rent, system_program, sysvar, + hash::Hash, pubkey::Pubkey, rent::Rent, system_program, sysvar, sysvar::clock::Clock, }; -use solana_program_test::{processor, BanksClient, ProgramTest, ProgramTestContext}; +use solana_program_test::{processor, ProgramTest, ProgramTestContext}; use solana_sdk::{ account::Account, signature::Keypair, signature::Signer, system_instruction, transaction::Transaction, @@ -15,7 +15,7 @@ use spl_token::{ self, instruction::{initialize_account, initialize_mint, mint_to}, }; -use token_vesting::instruction::{change_destination, create, init, initialize_unlock, unlock}; +use token_vesting::instruction::{create, init, initialize_unlock, unlock}; use token_vesting::{entrypoint::process_instruction, instruction::Schedule}; #[tokio::test]