Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
Signed-off-by: Ignacio Hagopian <[email protected]>
  • Loading branch information
jsign committed Aug 31, 2023
1 parent 30037a0 commit 4fc131e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion banderwagon/element.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ func (p *Element) Neg(p1 *Element) *Element {
return p
}

func (p *Element) ScalarMul(p1 *Element, scalar_mont *fr.Element) *Element { // TODO(jsign): reconsider the API.
func (p *Element) ScalarMul(p1 *Element, scalar_mont *fr.Element) *Element {
var bigScalar big.Int
scalar_mont.ToBigIntRegular(&bigScalar)
p.inner.ScalarMultiplication(&p1.inner, &bigScalar)
Expand Down

0 comments on commit 4fc131e

Please sign in to comment.