Cleanup SDK use syntax (#8004)

This commit is contained in:
Jack May
2020-01-28 16:11:22 -08:00
committed by GitHub
parent 4197cce8c9
commit 12eff5a2f9
17 changed files with 59 additions and 66 deletions

View File

@@ -1,10 +1,12 @@
use crate::hash::hashv;
use crate::instruction::{AccountMeta, Instruction, WithSigner};
use crate::instruction_processor_utils::DecodeError;
use crate::nonce_state::NonceState;
use crate::pubkey::Pubkey;
use crate::system_program;
use crate::sysvar::{recent_blockhashes, rent};
use crate::{
hash::hashv,
instruction::{AccountMeta, Instruction, WithSigner},
instruction_processor_utils::DecodeError,
nonce_state::NonceState,
pubkey::Pubkey,
system_program,
sysvar::{recent_blockhashes, rent},
};
use num_derive::{FromPrimitive, ToPrimitive};
use thiserror::Error;