ParachainHost: No need to be generic over the block or hash type (#2537)

The `BlockNumber` and `Hash` are fixed types any way.
This commit is contained in:
Bastian Köcher
2023-11-29 15:31:51 +01:00
committed by GitHub
parent 8f03570a46
commit d3d301fa42
5 changed files with 23 additions and 20 deletions
+1 -1
View File
@@ -826,7 +826,7 @@ sp_api::impl_runtime_apis! {
}
}
impl primitives::runtime_api::ParachainHost<Block, Hash, BlockNumber> for Runtime {
impl primitives::runtime_api::ParachainHost<Block> for Runtime {
fn validators() -> Vec<ValidatorId> {
runtime_impl::validators::<Runtime>()
}