aboutsummaryrefslogtreecommitdiff
path: root/nizk/stage1.go
diff options
context:
space:
mode:
authorÖzgür Kesim <oec@codeblau.de>2024-11-15 19:30:11 +0100
committerÖzgür Kesim <oec@codeblau.de>2024-11-15 19:30:11 +0100
commit9dbeb486bae03555c0ebd8e30708ef1fb2132231 (patch)
tree8a18b5e650d3bfa4568f81331cd21419ea172109 /nizk/stage1.go
parent0eab6394734540c31dad54ecfc691b790ea4550c (diff)
randomized test and benchmark work!
Diffstat (limited to 'nizk/stage1.go')
-rw-r--r--nizk/stage1.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/nizk/stage1.go b/nizk/stage1.go
index e7ed44d..f58a4ac 100644
--- a/nizk/stage1.go
+++ b/nizk/stage1.go
@@ -98,6 +98,7 @@ func (b *Bit) reveal(prev_true bool, Xs ...*Point) (r *StageReveal) {
s.Sent = true
} else {
r.Z = Y.Exp(s.x)
+ s.Sent = false
}
return r