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

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.