fix miss-typing

This commit is contained in:
alex.sharov 2022-12-24 19:55:50 +07:00
parent 6ad0d837d1
commit 7e5ad0895a

View File

@ -846,7 +846,7 @@ func stageLogIndex(db kv.RwDB, ctx context.Context) error {
}
_, _, sync, _, _ := newSync(ctx, db, nil)
must(sync.SetCurrentStage(stages.LogIndex))
if reset {
if warmup {
return reset2.Warmup(ctx, db, stages.LogIndex)
}
if reset {