Skip to content

Commit

Permalink
Fix invalid arrayify value in LP invest tx (#1826)
Browse files Browse the repository at this point in the history
  • Loading branch information
sophialittlejohn authored Dec 20, 2023
1 parent d13b116 commit 9fa4218
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions centrifuge-js/src/modules/liquidityPools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export function getLiquidityPoolsModule(inst: Centrifuge) {
const [lpAddress, order] = args
const user = inst.getSignerAddress('evm')
return pending(
contract(lpAddress, ABI.LiquidityPool).requestDeposit(order.toString(), user, user, '', {
contract(lpAddress, ABI.LiquidityPool).requestDeposit(order.toString(), user, user, 0x00, {
...options,
gasLimit: 300000,
})
Expand All @@ -151,7 +151,7 @@ export function getLiquidityPoolsModule(inst: Centrifuge) {
const [lpAddress, order] = args
const user = inst.getSignerAddress('evm')
return pending(
contract(lpAddress, ABI.LiquidityPool).requestRedeem(order.toString(), user, user, '', {
contract(lpAddress, ABI.LiquidityPool).requestRedeem(order.toString(), user, user, 0x00, {
...options,
gasLimit: 300000,
})
Expand Down

0 comments on commit 9fa4218

Please sign in to comment.