Move types to more appropriate files (#10638)

This commit is contained in:
Jack May
2020-06-17 10:39:14 -07:00
committed by GitHub
parent 39984cdcc3
commit dac7dc2f10
26 changed files with 97 additions and 98 deletions

View File

@@ -4,9 +4,9 @@ use chrono::prelude::{DateTime, Utc};
use num_derive::{FromPrimitive, ToPrimitive};
use serde_derive::{Deserialize, Serialize};
use solana_sdk::{
decode_error::DecodeError,
hash::Hash,
instruction::{AccountMeta, Instruction},
program_utils::DecodeError,
pubkey::Pubkey,
system_instruction,
};

View File

@@ -7,10 +7,10 @@ use crate::{
use chrono::prelude::{DateTime, Utc};
use log::*;
use solana_sdk::{
account::KeyedAccount,
account::{next_keyed_account, KeyedAccount},
hash::hash,
instruction::InstructionError,
program_utils::{limited_deserialize, next_keyed_account},
program_utils::limited_deserialize,
pubkey::Pubkey,
};