add derives to aura slot duration (#2469)

This commit is contained in:
Robert Habermeier
2019-05-03 21:14:17 +02:00
committed by DemiMarie-parity
parent 6921b2ce3d
commit 32c85a61b5
+1
View File
@@ -87,6 +87,7 @@ pub trait Network: Clone {
}
/// A slot duration. Create with `get_or_compute`.
#[derive(Clone, Copy, Debug, Encode, Decode, Hash, PartialOrd, Ord, PartialEq, Eq)]
pub struct SlotDuration(slots::SlotDuration<u64>);
impl SlotDuration {