mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 16:55:46 +00:00
Fix epoch constructor misconception
This commit is contained in:
@@ -76,8 +76,8 @@ impl Slot {
|
||||
}
|
||||
|
||||
impl Epoch {
|
||||
pub const fn new(slot: u64) -> Epoch {
|
||||
Epoch(slot)
|
||||
pub const fn new(epoch: u64) -> Epoch {
|
||||
Epoch(epoch)
|
||||
}
|
||||
|
||||
pub fn max_value() -> Epoch {
|
||||
|
||||
Reference in New Issue
Block a user