We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68070ce commit 8922eeaCopy full SHA for 8922eea
1 file changed
internal/certificatetransparency/ct-watcher.go
@@ -387,7 +387,7 @@ func (w *worker) runWorker(ctx context.Context) error {
387
}
388
389
// If recovery is enabled and the CT index is set, we start at the saved index. Otherwise we start at the latest STH.
390
- validSavedCTIndexExists := config.AppConfig.General.Recovery.Enabled && w.ctIndex >= 0
+ validSavedCTIndexExists := config.AppConfig.General.Recovery.Enabled
391
if !validSavedCTIndexExists {
392
sth, getSTHerr := jsonClient.GetSTH(ctx)
393
if getSTHerr != nil {
0 commit comments