diff --git a/note/note_rfc6962.go b/note/note_rfc6962.go index ae418cd..b7e38cc 100644 --- a/note/note_rfc6962.go +++ b/note/note_rfc6962.go @@ -150,7 +150,7 @@ func (v *rfc6962Verifer) Verify(msg, sig []byte) bool { return v.v(msg, v.name, sig) } -func verifyRFC6962(key crypto.PublicKey) func(msg []byte, origin string, sig []byte) bool { +func verifyRFC6962(key crypto.PublicKey) func([]byte, string, []byte) bool { return func(msg []byte, origin string, sig []byte) bool { if len(sig) < timestampSize { return false