Skip to content

Commit 71413ca

Browse files
authored
Fix: bad osp back to start (#403)
1 parent 00b1c59 commit 71413ca

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

challenge-manager/edge-tracker/tracker.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,6 @@ func (et *Tracker) Act(ctx context.Context) error {
248248
// Edge is at a one-step-proof in a small-step challenge.
249249
case edgeAtOneStepProof:
250250
if err := et.submitOneStepProof(ctx); err != nil {
251-
if errors.Is(err, errBadOneStepProof) {
252-
return et.fsm.Do(edgeConfirm{})
253-
}
254251
srvlog.Error("Could not submit one step proof", err, fields)
255252
return et.fsm.Do(edgeBackToStart{})
256253
}

0 commit comments

Comments
 (0)