From b5e42710f45c54223b816118fb03eaf6b303bfec Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Fri, 31 Mar 2023 11:04:23 +0000 Subject: [PATCH] ".git/.scripts/commands/fmt/fmt.sh" --- client/consensus/aura/src/standalone.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/client/consensus/aura/src/standalone.rs b/client/consensus/aura/src/standalone.rs index e37504164ad30..0f9b8668d4478 100644 --- a/client/consensus/aura/src/standalone.rs +++ b/client/consensus/aura/src/standalone.rs @@ -62,10 +62,7 @@ where C: AuxStore + ProvideRuntimeApi, C::Api: AuraApi, { - client - .runtime_api() - .slot_duration(block_hash) - .map_err(|err| err.into()) + client.runtime_api().slot_duration(block_hash).map_err(|err| err.into()) } /// Get the slot author for given block along with authorities.