Skip to content

Commit

Permalink
Merge pull request #300 from dedis/tbls_sig
Browse files Browse the repository at this point in the history
TBLS Signature: use value receiver
  • Loading branch information
jeffallen committed Apr 4, 2018
2 parents 08ad4c6 + 2f8735e commit 83f872f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sign/tbls/tbls.go
Expand Up @@ -25,9 +25,9 @@ import (
type SigShare []byte

// Index returns the index i of the TBLS share Si.
func (s *SigShare) Index() (int, error) {
func (s SigShare) Index() (int, error) {
var index uint16
buf := bytes.NewReader(*s)
buf := bytes.NewReader(s)
err := binary.Read(buf, binary.BigEndian, &index)
if err != nil {
return -1, err
Expand Down

0 comments on commit 83f872f

Please sign in to comment.