Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit b5e4271

Browse files
author
command-bot
committed
".git/.scripts/commands/fmt/fmt.sh"
1 parent a18f21e commit b5e4271

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

client/consensus/aura/src/standalone.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,7 @@ where
6262
C: AuxStore + ProvideRuntimeApi<B>,
6363
C::Api: AuraApi<B, A>,
6464
{
65-
client
66-
.runtime_api()
67-
.slot_duration(block_hash)
68-
.map_err(|err| err.into())
65+
client.runtime_api().slot_duration(block_hash).map_err(|err| err.into())
6966
}
7067

7168
/// Get the slot author for given block along with authorities.

0 commit comments

Comments
 (0)