From eae904270b66357d38f5f7eaf809fee4f751e2ce Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Thu, 24 Jan 2019 11:51:25 +1100 Subject: [PATCH] Derive Clone for SystemTimeSlotClock --- eth2/utils/slot_clock/src/system_time_slot_clock.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/eth2/utils/slot_clock/src/system_time_slot_clock.rs b/eth2/utils/slot_clock/src/system_time_slot_clock.rs index 5c5f2e0ea..ba62b3b93 100644 --- a/eth2/utils/slot_clock/src/system_time_slot_clock.rs +++ b/eth2/utils/slot_clock/src/system_time_slot_clock.rs @@ -10,6 +10,7 @@ pub enum Error { } /// Determines the present slot based upon the present system time. +#[derive(Clone)] pub struct SystemTimeSlotClock { genesis_seconds: u64, slot_duration_seconds: u64,