iden3 / circomlibjs

Javascript library to work with circomlib circuits
75 stars 58 forks source link

Added missing parameter in function call in pedersen_printbases.js #4

Closed cryptopapi997 closed 1 year ago

cryptopapi997 commented 2 years ago

The getBasePoint function takes the hash type and the point index, however is only supplied the index here, causing a crash when this is executed. Added the hash type to fix this.

cryptopapi997 commented 2 years ago

Lmk if this change is incorrect, however this was throwing errors in my code so I believe a fix would still be in good measure :)

cryptopapi997 commented 1 year ago

@jbaylina

cryptopapi997 commented 1 year ago

I assume this change isn't needed, closing