Skip to content

Commit

Permalink
Fix order of mutlicall for investing with permit
Browse files Browse the repository at this point in the history
  • Loading branch information
sophialittlejohn committed Aug 29, 2024
1 parent 347bb48 commit f5f8c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion centrifuge-js/src/modules/liquidityPools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ export function getLiquidityPoolsModule(inst: Centrifuge) {
const permit = iface.encodeFunctionData('permit', [currencyAddress, user, order.toString(), deadline, v, r, s])

return pending(
contract(centrifugeRouter, ABI.CentrifugeRouter).multicall([enable, permit, requestDeposit], {
contract(centrifugeRouter, ABI.CentrifugeRouter).multicall([permit, enable, requestDeposit], {
...options,
gasLimit: 300000,
value: estimate,
Expand Down

0 comments on commit f5f8c1d

Please sign in to comment.