im-online: account for block authorship (#3973)

* im-online: account for block authorship

* im-online: add test for block authorship onlineness

* im-online: cleanup

* im-online: fix test
This commit is contained in:
André Silva
2019-10-31 10:11:11 +00:00
committed by Gavin Wood
parent a167f37b91
commit 3cbc28ab59
6 changed files with 108 additions and 10 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ impl authorship::Trait for Runtime {
type FindAuthor = session::FindAccountFromAuthorIndex<Self, Babe>;
type UncleGenerations = UncleGenerations;
type FilterUncle = ();
type EventHandler = Staking;
type EventHandler = (Staking, ImOnline);
}
impl_opaque_keys! {