Move AuraPair import to new_full_start! macro (#5709)

This commit is contained in:
Joshy Orndorff authored and GitHub committed 2020-04-21 10:52:34 +02:00
1 parent f2578bdc3b
commit 723ee05a73
2 files changed
+2 -1

No files matched your search

@@ -18,7 +18,6 @@ use crate::chain_spec;
use crate::cli::Cli;
use crate::service;
use sc_cli::SubstrateCli;
use sp_consensus_aura::sr25519::AuthorityPair as AuraPair;
impl SubstrateCli for Cli {
fn impl_name() -> &'static str {
@@ -26,6 +26,8 @@ native_executor_instance!(
macro_rules! new_full_start {
($config:expr) => {{
use std::sync::Arc;
use sp_consensus_aura::sr25519::AuthorityPair as AuraPair;
let mut import_setup = None;
let inherent_data_providers = sp_inherents::InherentDataProviders::new();