Remove deprecated authorities function (#2785)

* Remove deprecated authorities function

* Bump spec

* Fixes compilation

* Remove last piece
This commit is contained in:
Bastian Köcher
2019-06-04 22:28:18 +02:00
committed by GitHub
parent 9ae3082ef0
commit 4d9efbc1d5
11 changed files with 741 additions and 296 deletions
-8
View File
@@ -352,10 +352,6 @@ cfg_if! {
fn initialize_block(header: &<Block as BlockT>::Header) {
system::initialize_block(header)
}
fn authorities() -> Vec<AuthorityId> {
panic!("Deprecated, please use `AuthoritiesApi`.")
}
}
impl client_api::Metadata<Block> for Runtime {
@@ -500,10 +496,6 @@ cfg_if! {
fn initialize_block(header: &<Block as BlockT>::Header) {
system::initialize_block(header)
}
fn authorities() -> Vec<AuthorityId> {
panic!("Deprecated, please use `AuthoritiesApi`.")
}
}
impl client_api::Metadata<Block> for Runtime {