Skip to content

Commit

Permalink
Remove redundant signature check (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
terencechain authored Jul 15, 2022
1 parent 2c0e232 commit 1940ff6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions server/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,11 +360,6 @@ func (m *BoostService) handleGetPayload(w http.ResponseWriter, req *http.Request
return
}

if len(payload.Signature) != 96 {
m.respondError(w, http.StatusBadRequest, errInvalidSignature.Error())
return
}

result := new(types.GetPayloadResponse)
requestCtx, requestCtxCancel := context.WithCancel(context.Background())
defer requestCtxCancel()
Expand Down

0 comments on commit 1940ff6

Please sign in to comment.