Make impl_opaque_keys more scope independent (#2873)

This commit is contained in:
Bastian Köcher
2019-06-15 07:41:46 +02:00
committed by GitHub
parent 2082e9468e
commit db5722adc3
5 changed files with 6 additions and 9 deletions
-3
View File
@@ -21,7 +21,6 @@
#![recursion_limit="256"]
use rstd::prelude::*;
use parity_codec::{Encode, Decode};
use support::{construct_runtime, parameter_types};
use substrate_primitives::u32_trait::{_1, _2, _3, _4};
use node_primitives::{
@@ -132,8 +131,6 @@ parameter_types! {
}
type SessionHandlers = (Grandpa, Aura);
#[cfg(feature = "std")]
use serde::{Serialize, Deserialize};
impl_opaque_keys! {
pub struct SessionKeys(grandpa::AuthorityId, AuraId);
}