Skip to content

Commit

Permalink
linter: Fix linter - variable is never used
Browse files Browse the repository at this point in the history
Signed-off-by: Evgenii Baidakov <evgenii@nspcc.io>
  • Loading branch information
smallhive committed Aug 7, 2023
1 parent 978a8bc commit a295c21
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions crypto/signature.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,6 @@ func (x Signature) Verify(data []byte) bool {
}

func (x *Signature) fillSignature(signer Signer, signature []byte) {
pub := signer.Public()

key := make([]byte, pub.MaxEncodedSize())
key = key[:pub.Encode(key)]

m := (*refs.Signature)(x)
m.SetScheme(refs.SignatureScheme(signer.Scheme()))
m.SetSign(signature)
Expand Down

0 comments on commit a295c21

Please sign in to comment.