Zerocoin / libzerocoin

Zerocoin: C++ lib for anonymous extension to bitcoin
http://zerocoin.org/
MIT License
177 stars 53 forks source link

Bug fix? I think the generators g and h for the QR_N commitment group should have different values #15

Closed Gnos1s closed 10 years ago

Gnos1s commented 10 years ago

It looks like one of the authors duplicated code and failed to change all "g" to "h" in the duplicate.

Before this fix, g and h would always be set to the same value; I am a novice at crypto so I cannot tell if this could lead to de-anonymization, coin forgery, or both.