Convert bitwise ghost to use u64 block heights.

This commit is contained in:
Age Manning
2019-03-03 13:35:15 +11:00
parent 684ef9f74c
commit 60cfdf6e55
2 changed files with 9 additions and 10 deletions

View File

@@ -13,7 +13,6 @@ use std::ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Rem, Sub, SubAssi
pub struct SlotHeight(u64);
impl_common!(SlotHeight);
impl_into_u32!(SlotHeight); // SlotHeight can be converted to u32
impl SlotHeight {
pub fn new(slot: u64) -> SlotHeight {