Skip to content

Commit

Permalink
fixup: Respond to review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
maru-ava committed Jan 30, 2025
1 parent 47c3058 commit a392bdb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,9 @@ func addNodeFlags(fs *pflag.FlagSet) {
fs.Int(SnowMaxProcessingKey, snowball.DefaultParameters.MaxOutstandingItems, "Maximum number of processing items to be considered healthy")
fs.Duration(SnowMaxTimeProcessingKey, snowball.DefaultParameters.MaxItemProcessingTime, "Maximum amount of time an item should be processing and still be healthy")

// Primary Network Config
fs.Duration(ProposerMinBlockDelayKey, proposervm.DefaultMinBlockDelay, "Minimum delay to enforce when building a snowman++ block for the primary network chains")

// ProposerVM
fs.Bool(ProposerVMUseCurrentHeightKey, false, "Have the ProposerVM always report the last accepted P-chain block height")

Expand Down Expand Up @@ -386,8 +389,6 @@ func addNodeFlags(fs *pflag.FlagSet) {

fs.String(ProcessContextFileKey, defaultProcessContextPath, "The path to write process context to (including PID, API URI, and staking address).")

// Primary Subnet Config
fs.Duration(ProposerMinBlockDelayKey, proposervm.DefaultMinBlockDelay, "Minimum delay to enforce when building a snowman++ block for the primary subnet")
}

Check failure on line 392 in config/flags.go

View workflow job for this annotation

GitHub Actions / Lint

unnecessary trailing newline (whitespace)

// BuildFlagSet returns a complete set of flags for avalanchego
Expand Down

0 comments on commit a392bdb

Please sign in to comment.