aboutsummaryrefslogtreecommitdiff
path: root/nizk/stage1/stage1.go
diff options
context:
space:
mode:
Diffstat (limited to 'nizk/stage1/stage1.go')
-rw-r--r--nizk/stage1/stage1.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/nizk/stage1/stage1.go b/nizk/stage1/stage1.go
index bb493a7..0bd3e29 100644
--- a/nizk/stage1/stage1.go
+++ b/nizk/stage1/stage1.go
@@ -98,7 +98,7 @@ func (s *Statement) Proof() *Proof {
ε[1][3] = s.B.Exp(ρ2).Mul(s.C.Div(G).Exp(ω))
}
- p := []*Point{G, s.A, s.B, s.C, s.R, s.X, s.Y, s.Z}
+ p := []Bytes{G, s.A, s.B, s.C, s.R, s.X, s.Y, s.Z}
for _, e := range ε[0] {
p = append(p, e)
}
@@ -140,7 +140,7 @@ func (c *Commitment) Verify(p *Proof) bool {
ε[1][2] = c.R.Exp(p.Rho[1][0]).Mul(c.Z.Exp(p.Ch[1]))
ε[1][3] = c.B.Exp(p.Rho[1][1]).Mul(c.C.Div(G).Exp(p.Ch[1]))
- points := []*Point{G, c.A, c.B, c.C, c.R, c.X, c.Y, c.Z}
+ points := []Bytes{G, c.A, c.B, c.C, c.R, c.X, c.Y, c.Z}
for _, e := range ε[0] {
points = append(points, e)
}