Initialize Config Correctly (#7004)

* initialize correctly
This commit is contained in:
Nishant Das 2020-08-15 09:37:57 +08:00 committed by GitHub
parent d24f99d66d
commit ee2ba721ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -264,8 +264,8 @@ func ConfigureBeaconChain(ctx *cli.Context) {
if ctx.Bool(enableRoughtime.Name) {
log.Warn("Enabling roughtime sync")
cfg.EnableRoughtime = true
Init(cfg)
}
Init(cfg)
}
// ConfigureSlasher sets the global config based