Move AuraPair import to new_full_start! macro (#5709)

This commit is contained in:
Joshy Orndorff
2020-04-21 04:52:34 -04:00
committed by GitHub
parent f2578bdc3b
commit 723ee05a73
2 changed files with 2 additions and 1 deletions
@@ -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();