Skip to content

Commit

Permalink
Remove unused lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
K1li4nL committed Jun 12, 2024
1 parent ecba6df commit e5c76c5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions share/poly.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ type PriShare struct {
func (p *PriShare) Hash(s kyber.HashFactory) []byte {
h := s.Hash()
_, _ = p.V.MarshalTo(h)
//nolint:staticcheck // TODO: SA1003 fixed with https://github.com/dedis/kyber/issues/492
_ = binary.Write(h, binary.LittleEndian, p.I)
return h.Sum(nil)
}
Expand Down Expand Up @@ -304,7 +303,6 @@ type PubShare struct {
func (p *PubShare) Hash(s kyber.HashFactory) []byte {
h := s.Hash()
_, _ = p.V.MarshalTo(h)
//nolint:staticcheck // TODO: SA1003 fixed with https://github.com/dedis/kyber/issues/492
_ = binary.Write(h, binary.LittleEndian, p.I)
return h.Sum(nil)
}
Expand Down

0 comments on commit e5c76c5

Please sign in to comment.