Skip to content

Commit a57f640

Browse files
committed
add comments
1 parent 5d085f1 commit a57f640

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/utils/flags.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1812,6 +1812,7 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *ethconfig.Config) {
18121812
cfg.TxGossipReceivingDisabled = ctx.GlobalBool(TxGossipReceivingDisabledFlag.Name)
18131813
log.Info("Transaction gossip receiving disabled", "disabled", cfg.TxGossipReceivingDisabled)
18141814
}
1815+
// Only configure sequencer http flag if we're running in verifier mode i.e. --mine is disabled.
18151816
if ctx.IsSet(TxGossipSequencerHTTPFlag.Name) && !ctx.IsSet(MiningEnabledFlag.Name) {
18161817
cfg.TxGossipSequencerHTTP = ctx.String(TxGossipSequencerHTTPFlag.Name)
18171818
}

0 commit comments

Comments
 (0)