Remove useless trait bound and move instructions (#11193)

* Remove useless trait bound and `move` instructions

* cargo fmt
This commit is contained in:
Davide Galassi
2022-04-09 14:08:46 +02:00
committed by GitHub
parent f4336fafb7
commit 9090f0d2a2
3 changed files with 3 additions and 6 deletions
+1 -4
View File
@@ -1170,10 +1170,7 @@ fn local_authority_id(
pub fn revert<Block, Client>(client: Arc<Client>, blocks: NumberFor<Block>) -> ClientResult<()>
where
Block: BlockT,
Client: AuxStore
+ HeaderMetadata<Block, Error = sp_blockchain::Error>
+ HeaderBackend<Block>
+ ProvideRuntimeApi<Block>,
Client: AuxStore + HeaderMetadata<Block, Error = sp_blockchain::Error> + HeaderBackend<Block>,
{
let best_number = client.info().best_number;
let finalized = client.info().finalized_number;