gateio / proof-of-reserves

Codes and Audits Proof of Gate.io holding full reserves of Users' assets
GNU General Public License v3.0
165 stars 118 forks source link

Unify leaf hash generation for merkle tree creation and verification #3

Open camaral opened 1 year ago

camaral commented 1 year ago

I am trying to be more resilient when parsing the User's Balance file, so we don't need to be strict on the format. At the same time I am unifying the leaf hash generation, to make sure that both createMerkle() and verifyMerkle() use the same code.