okx / proof-of-reserves-v2

MIT License
6 stars 0 forks source link

Bug that lead to wrong root hash in recursive circuit #21

Closed RUAN0007 closed 3 months ago

RUAN0007 commented 3 months ago

The current recursive circuit wrongly computes parent node hash as Hash(l3 || Hash(l2 || l1)). But the root hash is expected to be Hash( l3 || l2 || l1).

RUAN0007 commented 3 months ago

to address in #22