From 20f99db058acb3773b623242058b943c11f587bb Mon Sep 17 00:00:00 2001 From: Mamy Ratsimbazafy Date: Thu, 28 Feb 2019 15:17:57 +0100 Subject: [PATCH] remove unused epoch template (#142) --- beacon_chain/spec/datatypes.nim | 3 --- 1 file changed, 3 deletions(-) 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