aboutsummaryrefslogtreecommitdiff
path: root/nizk/stage2.go
diff options
context:
space:
mode:
Diffstat (limited to 'nizk/stage2.go')
-rw-r--r--nizk/stage2.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/nizk/stage2.go b/nizk/stage2.go
index c9ee517..f38475d 100644
--- a/nizk/stage2.go
+++ b/nizk/stage2.go
@@ -44,7 +44,8 @@ func (b *Bit) RevealStage2(lost bool, prev *Bit, Xs ...*Point) (rv2 *StageReveal
c1 := prev.StageCommitment
c2 := s.StageCommitment
rv1 := prev.StageReveal
- rv2 = b.reveal(prev.IsSet(), Xs...)
+ b.StageReveal = b.reveal(prev.IsSet(), Xs...)
+ rv2 = b.StageReveal
if lost {
ε1[0] = G.Exp(ρ1[0]).Mul(c2.X.Exp(ω[0]))