Derive Clone for SystemTimeSlotClock

This commit is contained in:
Paul Hauner 2019-01-24 11:51:25 +11:00
parent 8c0e634aa4
commit eae904270b
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -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,