Skip to content

Commit 5e8c5b4

Browse files
committed
fix: lint
1 parent a1e40ed commit 5e8c5b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func (svr *Server) HandleGet(w http.ResponseWriter, r *http.Request) (commitment
181181
}
182182

183183
// HandlePut handles the PUT request for commitments.
184-
// Note: even when an error is returned, the commitment meta is still returned,
184+
// Note: even when an error is returned, the commitment meta is still returned,
185185
// because it is needed for metrics (see the WithMetrics middleware).
186186
// TODO: we should change this behavior and instead use a custom error that contains the commitment meta.
187187
func (svr *Server) HandlePut(w http.ResponseWriter, r *http.Request) (commitments.CommitmentMeta, error) {

0 commit comments

Comments
 (0)