fluidex / circom-plus

1 stars 1 forks source link

Bugs of circomlib #2

Open lispc opened 3 years ago

lispc commented 3 years ago

Num2Bits may fail if the input and n unmatch. It needs a 'enabled' https://github.com/Fluidex/circuits/blob/06c932546cb280e2ee53c55ad1078553ed2e85c3/src/lib/bitify.circom#L2