Commit f62d650
committed
Fix merkle proof generation to exclude zero-amount shares
The API endpoint was including all distribution shares when generating
merkle proofs, while the merkle tree generator script filters out
zero-amount shares. This mismatch caused "invalid merkle proof" errors
when users tried to claim tokens.
Add .gt('amount', 0) filter to the API endpoint to match the script
and ensure both generate identical merkle trees.1 parent 6b4b0f5 commit f62d650
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
0 commit comments