Skip to content

Commit

Permalink
cmd/flag: correctly enable finality vote monitor (#373)
Browse files Browse the repository at this point in the history
Fix the incorrect config set when --monitor.finalityvote is used.
  • Loading branch information
minh-bq authored Oct 27, 2023
1 parent eebe749 commit b27867e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit b27867e

Please sign in to comment.