Derive Clone for SystemTimeSlotClock
This commit is contained in:
parent
8c0e634aa4
commit
eae904270b
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user