Skip to content

Commit

Permalink
cmd/utils/flags.go: --diffsync flag is deprecate. (#1322)
Browse files Browse the repository at this point in the history
  • Loading branch information
blxdyx authored Feb 28, 2023
1 parent 175db6b commit 217e474
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 @@ -1703,7 +1703,7 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *ethconfig.Config) {
cfg.EnableTrustProtocol = ctx.GlobalIsSet(EnableTrustProtocolFlag.Name)
}
if ctx.GlobalIsSet(DiffSyncFlag.Name) {
cfg.DiffSync = ctx.GlobalBool(DiffSyncFlag.Name)
log.Warn("The --diffsync flag is deprecated and will be removed in the future!")
}
if ctx.GlobalIsSet(PipeCommitFlag.Name) {
cfg.PipeCommit = ctx.GlobalBool(PipeCommitFlag.Name)
Expand Down

0 comments on commit 217e474

Please sign in to comment.