aboutsummaryrefslogtreecommitdiff
path: root/nizk/commit_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'nizk/commit_test.go')
-rw-r--r--nizk/commit_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/nizk/commit_test.go b/nizk/commit_test.go
index 32d337b..061a772 100644
--- a/nizk/commit_test.go
+++ b/nizk/commit_test.go
@@ -10,7 +10,7 @@ func TestStatement(t *testing.T) {
id := Curve.RandomScalar()
Id := G.Exp(id)
- st1, st2 := NewBid(true), NewBid(false)
+ st1, st2 := NewBit(true), NewBit(false)
c1, p1 := st1.Commit(Id)
c2, p2 := st2.Commit(Id)
if !c1.Verify(p1) {
@@ -31,7 +31,7 @@ func TestStatementFromScalar(t *testing.T) {
Id := G.Exp(id)
- st1, st2 := NewBidFromScalars(true, α, β), NewBidFromScalars(false, α, β)
+ st1, st2 := NewBitFromScalars(true, α, β), NewBitFromScalars(false, α, β)
c1, p1 := st1.Commit(Id)
c2, p2 := st2.Commit(Id)
if !c1.Verify(p1) {