Skip to content

Commit e08ccec

Browse files
committed
Fix linter issues.
1 parent 05dc8b5 commit e08ccec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

oprf/oprf.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import (
1919
"encoding/binary"
2020
"errors"
2121
"hash"
22+
"io"
2223

2324
"github.com/cloudflare/circl/oprf/group"
2425
)
@@ -192,7 +193,7 @@ func (s *Server) Evaluate(b BlindToken) (*Evaluation, error) {
192193
return &Evaluation{ser}, nil
193194
}
194195

195-
func mustWrite(h hash.Hash, data []byte) {
196+
func mustWrite(h io.Writer, data []byte) {
196197
dataLen, err := h.Write(data)
197198
if err != nil {
198199
panic(err)

0 commit comments

Comments
 (0)