remove unused imports

This commit is contained in:
De Facto 2021-02-04 18:00:43 +08:00
parent 521b89c6fc
commit c5cec097af
2 changed files with 2 additions and 8 deletions

View File

@ -1,12 +1,7 @@
//! Error types
use num_derive::FromPrimitive;
use solana_program::{
decode_error::DecodeError,
entrypoint::ProgramResult,
msg,
program_error::{PrintProgramError, ProgramError},
};
use solana_program::program_error::ProgramError;
use num_traits::FromPrimitive;
use thiserror::Error;

View File

@ -7,10 +7,9 @@ use crate::{
};
use solana_program::{
account_info::{next_account_info, AccountInfo},
account_info::AccountInfo,
clock::Clock,
entrypoint::ProgramResult,
msg,
program::invoke_signed,
program_error::ProgramError,
program_pack::IsInitialized,