mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 21:31:02 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user