Remove useless trait bound and move instructions (#11193)

* Remove useless trait bound and `move` instructions

* cargo fmt
This commit is contained in:
Davide Galassi authored and GitHub committed 2022-04-09 12:08:46 +00:00
1 parent f4336fafb7
commit 9090f0d2a2
3 files changed
+3 -6

No files matched your search

@@ -98,7 +98,7 @@ pub fn run() -> sc_cli::Result<()> {
runner.async_run(|config| {
let PartialComponents { client, task_manager, backend, .. } =
service::new_partial(&config)?;
let aux_revert = Box::new(move |client, _, blocks| {
let aux_revert = Box::new(|client, _, blocks| {
sc_finality_grandpa::revert(client, blocks)?;
Ok(())
});