aboutsummaryrefslogtreecommitdiff
path: root/nizk
diff options
context:
space:
mode:
Diffstat (limited to 'nizk')
-rw-r--r--nizk/commit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/nizk/commit.go b/nizk/commit.go
index 27e31f7..b68c0f4 100644
--- a/nizk/commit.go
+++ b/nizk/commit.go
@@ -56,7 +56,7 @@ func NewBitFromScalars(id Bytes, set bool, α, β *Scalar) *Bit {
}
func Int2Bits(id Bytes, val int, bitlength int) []*Bit {
- if bitlength < 0 || bitlength > 24 {
+ if bitlength < 0 || bitlength > 32 {
return nil
}