mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 04:06:20 +00:00
Remove useless trait bound and move instructions (#11193)
* Remove useless trait bound and `move` instructions * cargo fmt
This commit is contained in:
1 parent
f4336fafb7
commit
9090f0d2a2
3 files changed
+3
-6
No files matched your search
@@ -175,7 +175,7 @@ pub fn run() -> Result<()> {
|
||||
let runner = cli.create_runner(cmd)?;
|
||||
runner.async_run(|config| {
|
||||
let PartialComponents { client, task_manager, backend, .. } = new_partial(&config)?;
|
||||
let aux_revert = Box::new(move |client: Arc<FullClient>, backend, blocks| {
|
||||
let aux_revert = Box::new(|client: Arc<FullClient>, backend, blocks| {
|
||||
sc_consensus_babe::revert(client.clone(), backend, blocks)?;
|
||||
grandpa::revert(client, blocks)?;
|
||||
Ok(())
|
||||
|
||||
Reference in new issue
Block a user