Skip to content

Commit

Permalink
Merge pull request #459 from seafooler/master
Browse files Browse the repository at this point in the history
Fix a bug in method: String() of PriShare
  • Loading branch information
nkcr authored Nov 26, 2021
2 parents b627bb3 + 7291a51 commit 4e19b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/poly.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (p *PriShare) Hash(s kyber.HashFactory) []byte {
}

func (p *PriShare) String() string {
return fmt.Sprintf("{%d:%p}", p.I, p.V)
return fmt.Sprintf("{%d:%s}", p.I, p.V)
}

// PriPoly represents a secret sharing polynomial.
Expand Down

0 comments on commit 4e19b71

Please sign in to comment.