Skip to content

Commit

Permalink
fixes duplicate conversion to seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
staheri14 committed Aug 31, 2024
1 parent 8a52745 commit 2d66356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/reactor.go
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,7 @@ func init() {
if delay != "" {
parsedDelay, err := strconv.Atoi(delay)
if err == nil {
PrecommitDelay = time.Duration(parsedDelay) * time.Second
PrecommitDelay = time.Duration(parsedDelay)
}
}
}
Expand Down

0 comments on commit 2d66356

Please sign in to comment.