Commit fcc417f
authored
fix: add owner field to batch-ctf-redemption request (#13)
The relayer expects 'owner' as a top-level field in the batch
redemption payload, but request_batch_ctf_redemption was only
sending { chainId, redemptions }. This caused the relayer to
return 'Invalid owner address format'.
Now includes the signer's address as 'owner' in the request body,
matching the frontend's request format:
{ chainId, owner, redemptions }
Also adds _require_signer() check since owner comes from the signer.1 parent 97c79fc commit fcc417f
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1593 | 1593 | | |
1594 | 1594 | | |
1595 | 1595 | | |
| 1596 | + | |
1596 | 1597 | | |
1597 | 1598 | | |
| 1599 | + | |
1598 | 1600 | | |
1599 | 1601 | | |
1600 | 1602 | | |
| |||
0 commit comments