Replace version.BellatrixBlind with b.isBlinded (#11159)

Co-authored-by: Nishant Das <nishdas93@gmail.com>
This commit is contained in:
Radosław Kapka
2022-08-11 00:00:10 +02:00
committed by GitHub
parent d35006b0a3
commit 5c580d4a1c
15 changed files with 195 additions and 160 deletions

View File

@@ -4,7 +4,6 @@ const (
Phase0 = iota
Altair
Bellatrix
BellatrixBlind
)
func String(version int) string {
@@ -15,8 +14,6 @@ func String(version int) string {
return "altair"
case Bellatrix:
return "bellatrix"
case BellatrixBlind:
return "bellatrix-blind"
default:
return "unknown version"
}