From 2d6635616ac8c8a7622a0818012e7b09ec0f46f7 Mon Sep 17 00:00:00 2001 From: sanaz Date: Fri, 30 Aug 2024 17:19:04 -0700 Subject: [PATCH] fixes duplicate conversion to seconds --- consensus/reactor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/reactor.go b/consensus/reactor.go index e3963f9d83..a7f7f5570a 100644 --- a/consensus/reactor.go +++ b/consensus/reactor.go @@ -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) } } }