Skip to content
Snippets Groups Projects
Commit 723ee05a authored by Joshy Orndorff's avatar Joshy Orndorff Committed by GitHub
Browse files

Move AuraPair import to new_full_start! macro (#5709)

parent f2578bdc
No related merge requests found
......@@ -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();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment