prysm-pulse/runtime/version/fork.go
Radosław Kapka 5c580d4a1c
Replace version.BellatrixBlind with b.isBlinded (#11159)
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2022-08-11 00:00:10 +02:00

21 lines
258 B
Go

package version
const (
Phase0 = iota
Altair
Bellatrix
)
func String(version int) string {
switch version {
case Phase0:
return "phase0"
case Altair:
return "altair"
case Bellatrix:
return "bellatrix"
default:
return "unknown version"
}
}