Delete consensus trait from sudo module (#1462)

This commit is contained in:
郭光华
2019-01-18 16:24:04 +08:00
committed by Bastian Köcher
parent d4eb3872a0
commit b066d25cc7
5 changed files with 1 additions and 6 deletions
+1 -2
View File
@@ -32,14 +32,13 @@ extern crate parity_codec as codec;
extern crate srml_support as support;
extern crate srml_system as system;
extern crate srml_consensus as consensus;
use sr_std::prelude::*;
use sr_primitives::traits::StaticLookup;
use support::{StorageValue, Parameter, Dispatchable};
use system::ensure_signed;
pub trait Trait: consensus::Trait + system::Trait {
pub trait Trait: system::Trait {
/// The overarching event type.
type Event: From<Event<Self>> + Into<<Self as system::Trait>::Event>;