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…
Reference in New Issue