mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
20 lines
314 B
Go
20 lines
314 B
Go
package fuzz
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/prysmaticlabs/prysm/shared/featureconfig"
|
|
)
|
|
|
|
const EnvBls = "BLS_ENABLED"
|
|
|
|
func init() {
|
|
var blsEnabled bool
|
|
if value, exists := os.LookupEnv(EnvBls); exists {
|
|
blsEnabled = value == "1"
|
|
}
|
|
featureconfig.Init(&featureconfig.Flags{
|
|
SkipBLSVerify: !blsEnabled,
|
|
})
|
|
}
|