mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-21 23:45:40 +00:00
Delete useless type (#775)
This commit is contained in:
@@ -45,7 +45,7 @@ use codec::{Decode, Encode};
|
|||||||
use extrinsic_pool::{Readiness, scoring::{Change, Choice}, VerifiedFor, ExtrinsicFor};
|
use extrinsic_pool::{Readiness, scoring::{Change, Choice}, VerifiedFor, ExtrinsicFor};
|
||||||
use node_api::Api;
|
use node_api::Api;
|
||||||
use primitives::{AccountId, BlockId, Block, Hash, Index};
|
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};
|
use sr_primitives::traits::{Bounded, Checkable, Hash as HashT, BlakeTwo256};
|
||||||
|
|
||||||
pub use extrinsic_pool::{Options, Status, LightStatus, VerifiedTransaction as VerifiedTransactionOps};
|
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.
|
/// Maximal size of a single encoded extrinsic.
|
||||||
const MAX_TRANSACTION_SIZE: usize = 4 * 1024 * 1024;
|
const MAX_TRANSACTION_SIZE: usize = 4 * 1024 * 1024;
|
||||||
|
|
||||||
/// Type alias for convenience.
|
|
||||||
pub type CheckedExtrinsic = <UncheckedExtrinsic as Checkable<fn(Address) -> std::result::Result<AccountId, &'static str>>>::Checked;
|
|
||||||
|
|
||||||
/// Type alias for the transaction pool.
|
/// Type alias for the transaction pool.
|
||||||
pub type TransactionPool<A> = extrinsic_pool::Pool<ChainApi<A>>;
|
pub type TransactionPool<A> = extrinsic_pool::Pool<ChainApi<A>>;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user