From b27867e7bb3aadcc40e9cf016212b0548cda09ef Mon Sep 17 00:00:00 2001 From: minh-bq <97180373+minh-bq@users.noreply.github.com> Date: Fri, 27 Oct 2023 11:06:43 +0700 Subject: [PATCH] cmd/flag: correctly enable finality vote monitor (#373) Fix the incorrect config set when --monitor.finalityvote is used. --- cmd/utils/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index ada426292a..b0d5cb898d 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -1843,7 +1843,7 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *ethconfig.Config) { } if ctx.GlobalBool(MonitorFinalityVoteFlag.Name) { - cfg.EnableMonitorDoubleSign = true + cfg.EnableMonitorFinalityVote = true } }