mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 21:37:56 +00:00
babe: remove unused slot_duration variable (#4461)
This commit is contained in:
@@ -494,8 +494,6 @@ impl<B, C, E, I, Error, SO> sc_consensus_slots::SimpleSlotWorker<B> for BabeWork
|
||||
slot_lenience, slot_lenience, BACKOFF_STEP);
|
||||
}
|
||||
|
||||
let slot_duration = slot_info.duration << (slot_lenience / BACKOFF_STEP);
|
||||
|
||||
let slot_lenience = Duration::from_secs(slot_duration);
|
||||
Some(slot_lenience + slot_remaining)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user