From ae444788c53457b918c5ad3f36826eca182b0e3a Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Thu, 26 Oct 2023 17:37:24 +0700 Subject: [PATCH] cmd/flag: correctly enable finality vote monitor 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 } }