From caa8541ada9cb2d7d98a23b2078f40396b09f7a0 Mon Sep 17 00:00:00 2001 From: Guanghua Guo Date: Thu, 20 Sep 2018 13:36:27 +0800 Subject: [PATCH] Delete useless type (#775) --- substrate/node/transaction-pool/src/lib.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/substrate/node/transaction-pool/src/lib.rs b/substrate/node/transaction-pool/src/lib.rs index b6dfcd3f25..44b6ca3d03 100644 --- a/substrate/node/transaction-pool/src/lib.rs +++ b/substrate/node/transaction-pool/src/lib.rs @@ -45,7 +45,7 @@ use codec::{Decode, Encode}; use extrinsic_pool::{Readiness, scoring::{Change, Choice}, VerifiedFor, ExtrinsicFor}; use node_api::Api; use primitives::{AccountId, BlockId, Block, Hash, Index}; -use runtime::{Address, UncheckedExtrinsic, RawAddress}; +use runtime::{UncheckedExtrinsic, RawAddress}; use sr_primitives::traits::{Bounded, Checkable, Hash as HashT, BlakeTwo256}; pub use extrinsic_pool::{Options, Status, LightStatus, VerifiedTransaction as VerifiedTransactionOps}; @@ -54,9 +54,6 @@ pub use error::{Error, ErrorKind, Result}; /// Maximal size of a single encoded extrinsic. const MAX_TRANSACTION_SIZE: usize = 4 * 1024 * 1024; -/// Type alias for convenience. -pub type CheckedExtrinsic = std::result::Result>>::Checked; - /// Type alias for the transaction pool. pub type TransactionPool = extrinsic_pool::Pool>;