diff options
Diffstat (limited to 'nizk/commit/commit_test.go')
-rw-r--r-- | nizk/commit/commit_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nizk/commit/commit_test.go b/nizk/commit/commit_test.go index de5d22e..8763706 100644 --- a/nizk/commit/commit_test.go +++ b/nizk/commit/commit_test.go @@ -19,6 +19,8 @@ func TestStatement(t *testing.T) { if !c2.Verify() { t.Fatal("Could not verify st2 with c2, plus=false case") } + + // Use the wrong proof c2.Proof = c1.Proof if c2.Verify() { t.Fatal("Verify with wrong proof should have failed!") |