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

Commit

Permalink
Substrate companion for fetching slot duration
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr committed Dec 17, 2021
1 parent df4fa29 commit 0f15db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ where
{
let pov_recovery = cumulus_client_pov_recovery::PoVRecovery::new(
self.overseer_handle,
sc_consensus_babe::Config::get_or_compute(&*client)?.slot_duration(),
sc_consensus_babe::Config::get(&*client)?.slot_duration(),
self.client,
self.import_queue,
client,
Expand Down

0 comments on commit 0f15db2

Please sign in to comment.