sp-api: Remove invalid unsafe trait bounds (#12502)

The runtime api implementation contained invalid unsafe trait bounds. `Sync` was never correct there
and `Send` should have not been "force implemented".
This commit is contained in:
Bastian Köcher
2022-10-17 10:20:51 +02:00
committed by GitHub
parent ce4cad8b8b
commit 37538f0429
3 changed files with 4 additions and 15 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ where
Block: BlockT,
BE: Backend<Block>,
Runtime: ProvideRuntimeApi<Block>,
Runtime::Api: BeefyApi<Block> + Send + Sync,
Runtime::Api: BeefyApi<Block> + Send,
{
fn decode_and_verify(
&self,