From 28631358c9889c508eea2df154d6a6d8ba9a4b5c Mon Sep 17 00:00:00 2001 From: Hoon <48665813+sh-cha@users.noreply.github.com> Date: Tue, 10 Dec 2024 15:46:34 +0900 Subject: [PATCH] Update challenger/handler.go Co-authored-by: beer-1 <147697694+beer-1@users.noreply.github.com> --- challenger/handler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/challenger/handler.go b/challenger/handler.go index d32a415..7f53be1 100644 --- a/challenger/handler.go +++ b/challenger/handler.go @@ -17,6 +17,7 @@ func (c *Challenger) challengeHandler(ctx types.Context) error { return nil case challenge := <-c.challengeCh: c.stage.Reset() + // Remove the pending challenge that was stored by the client or host err := challengerdb.DeletePendingChallenge(c.stage, challenge) if err != nil { return err