From c320a4c2d5dded9effd373b203ca8602274ecc5d Mon Sep 17 00:00:00 2001 From: evan-forbes Date: Tue, 4 Nov 2025 07:46:20 -0600 Subject: [PATCH] fix: ensure we're waiting long enough to avoid retriggering waits --- consensus/state.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/consensus/state.go b/consensus/state.go index 6779caeded..854e31f7dc 100644 --- a/consensus/state.go +++ b/consensus/state.go @@ -2123,7 +2123,10 @@ func (cs *State) isReadyToPrecommit() (bool, time.Duration) { if _, ok := cs.privValidator.(*privval.SignerClient); ok { waitTime = waitTime - KMSSigningDelay } - return waitTime <= 0, waitTime + // return the wait time plus some overhead to guarantee that p + // this call doesn't accidently hit this wait a second time with + // a few nanoseconds + return waitTime <= 0, waitTime + (20 * time.Millisecond) } //-----------------------------------------------------------------------------