mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-23 23:04:53 +00:00
Derive Clone for SystemTimeSlotClock
This commit is contained in:
@@ -10,6 +10,7 @@ pub enum Error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Determines the present slot based upon the present system time.
|
/// Determines the present slot based upon the present system time.
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct SystemTimeSlotClock {
|
pub struct SystemTimeSlotClock {
|
||||||
genesis_seconds: u64,
|
genesis_seconds: u64,
|
||||||
slot_duration_seconds: u64,
|
slot_duration_seconds: u64,
|
||||||
|
|||||||
Reference in New Issue
Block a user