diff --git a/beacon_chain/spec/datatypes.nim b/beacon_chain/spec/datatypes.nim index 0dca76048..506a650e0 100644 --- a/beacon_chain/spec/datatypes.nim +++ b/beacon_chain/spec/datatypes.nim @@ -482,9 +482,6 @@ type # TODO: not in spec CrosslinkCommittee* = tuple[committee: seq[ValidatorIndex], shard: uint64] -template epoch*(slot: int|uint64): auto = - slot div SLOTS_PER_EPOCH - when true: # TODO: Remove these once RLP serialization is no longer used import nimcrypto, eth/rlp, json_serialization