Add a DefaultQueue type alias to remove the need to use sp_api::TransactionFor (#6761)

* Add DefaultQueue

* Add DefaultImportQueue to the top level of sp-consensus
This commit is contained in:
Ashley authored and GitHub committed 2020-07-30 09:02:12 +00:00
1 parent 1284a491c2
commit 7df97abab4
8 files changed
+14 -12

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ type LightClient = sc_service::TLightClient<Block, RuntimeApi, Executor>;
pub fn new_partial(config: &Configuration) -> Result<sc_service::PartialComponents<
FullClient, FullBackend, FullSelectChain,
sc_consensus_babe::BabeImportQueue<Block, FullClient>,
sp_consensus::DefaultImportQueue<Block, FullClient>,
sc_transaction_pool::FullPool<Block, FullClient>,
(
impl Fn(node_rpc::DenyUnsafe) -> node_rpc::IoHandler,