Skip to content

Commit

Permalink
Fix flag prefix for dataposter
Browse files Browse the repository at this point in the history
  • Loading branch information
anodar committed Aug 14, 2023
1 parent 8c8b7f0 commit b9a2f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staker/block_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func BlockValidatorConfigAddOptions(prefix string, f *flag.FlagSet) {
f.String(prefix+".pending-upgrade-module-root", DefaultBlockValidatorConfig.PendingUpgradeModuleRoot, "pending upgrade wasm module root to additionally validate (hash, 'latest' or empty)")
f.Bool(prefix+".failure-is-fatal", DefaultBlockValidatorConfig.FailureIsFatal, "failing a validation is treated as a fatal error")
BlockValidatorDangerousConfigAddOptions(prefix+".dangerous", f)
dataposter.DataPosterConfigAddOptions(prefix+".data_poster", f)
dataposter.DataPosterConfigAddOptions(prefix+".data-poster", f)
f.String(prefix+".redis-url", DefaultBlockValidatorConfig.RedisUrl, "redis url for block validator")
redislock.AddConfigOptions(prefix+".redis-lock", f)
}
Expand Down

0 comments on commit b9a2f1d

Please sign in to comment.