Companion for substrate#8079 (#2408)

* Companion for substrate#8079

* More changes

* "Update Substrate"

Co-authored-by: parity-processbot <>
This commit is contained in:
Pierre Krieger
2021-02-15 10:10:58 +01:00
committed by GitHub
parent 4beb4a4a83
commit dc45c2d2f0
6 changed files with 280 additions and 386 deletions
+1 -4
View File
@@ -70,10 +70,7 @@ impl From<sc_network::ObservedRole> for ObservedRole {
match role {
sc_network::ObservedRole::Light => ObservedRole::Light,
sc_network::ObservedRole::Authority => ObservedRole::Authority,
sc_network::ObservedRole::Full
| sc_network::ObservedRole::OurSentry
| sc_network::ObservedRole::OurGuardedAuthority
=> ObservedRole::Full,
sc_network::ObservedRole::Full => ObservedRole::Full,
}
}
}