mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 20:42:13 +00:00
rm redundant ConsensusFork.toString
(#4733)
This commit is contained in:
parent
5ef1ed5d96
commit
ceefc49965
@ -453,19 +453,6 @@ template toString*(kind: ConsensusFork): string =
|
||||
of ConsensusFork.Deneb:
|
||||
"deneb"
|
||||
|
||||
template toString*(kind: ConsensusFork): string =
|
||||
case kind
|
||||
of ConsensusFork.Phase0:
|
||||
"phase0"
|
||||
of ConsensusFork.Altair:
|
||||
"altair"
|
||||
of ConsensusFork.Bellatrix:
|
||||
"bellatrix"
|
||||
of ConsensusFork.Capella:
|
||||
"capella"
|
||||
of ConsensusFork.Deneb:
|
||||
"deneb"
|
||||
|
||||
template toFork*[T:
|
||||
phase0.BeaconState |
|
||||
phase0.HashedBeaconState |
|
||||
|
Loading…
x
Reference in New Issue
Block a user