Companion for Substrate#10445 (#4506)

* runtimes: use updated BeefyApi

* update lockfile for substrate
This commit is contained in:
Adrian Catangiu
2021-12-21 18:08:49 +02:00
committed by GitHub
parent 0e046a000f
commit 30423f796b
6 changed files with 177 additions and 177 deletions
+2 -2
View File
@@ -1399,9 +1399,9 @@ sp_api::impl_runtime_apis! {
}
impl beefy_primitives::BeefyApi<Block> for Runtime {
fn validator_set() -> beefy_primitives::ValidatorSet<BeefyId> {
fn validator_set() -> Option<beefy_primitives::ValidatorSet<BeefyId>> {
// dummy implementation due to lack of BEEFY pallet.
beefy_primitives::ValidatorSet { validators: Vec::new(), id: 0 }
None
}
}