We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca3d1c3 commit c320a4cCopy full SHA for c320a4c
consensus/state.go
@@ -2123,7 +2123,10 @@ func (cs *State) isReadyToPrecommit() (bool, time.Duration) {
2123
if _, ok := cs.privValidator.(*privval.SignerClient); ok {
2124
waitTime = waitTime - KMSSigningDelay
2125
}
2126
- return waitTime <= 0, waitTime
+ // return the wait time plus some overhead to guarantee that p
2127
+ // this call doesn't accidently hit this wait a second time with
2128
+ // a few nanoseconds
2129
+ return waitTime <= 0, waitTime + (20 * time.Millisecond)
2130
2131
2132
//-----------------------------------------------------------------------------
0 commit comments