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 authored and Gavin Wood committed 2019-10-31 11:11:11 +01:00
1 parent a167f37b91
commit 3cbc28ab59
6 files changed
+108 -10

No files matched your search

+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! {