Attest timely by default (#15410)

* Attest timely by default

* Fix deprecated flag naming
This commit is contained in:
terence
2025-07-04 11:28:48 -07:00
committed by GitHub
parent a701f07f3a
commit 2d2507b907
4 changed files with 21 additions and 7 deletions

View File

@@ -318,9 +318,10 @@ func ConfigureValidator(ctx *cli.Context) error {
logEnabled(writeWalletPasswordOnWebOnboarding)
cfg.WriteWalletPasswordOnWebOnboarding = true
}
if ctx.Bool(attestTimely.Name) {
logEnabled(attestTimely)
cfg.AttestTimely = true
cfg.AttestTimely = true
if ctx.Bool(disableAttestTimely.Name) {
logEnabled(disableAttestTimely)
cfg.AttestTimely = false
}
if ctx.Bool(enableSlashingProtectionPruning.Name) {
logEnabled(enableSlashingProtectionPruning)