Skip to content

Commit

Permalink
fix: user deposit token instead of asset
Browse files Browse the repository at this point in the history
  • Loading branch information
0xsambugs committed Jan 6, 2025
1 parent aa283e0 commit 81e34ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/earn/earn-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ export class EarnService implements IEarnService {
encodeFunctionData({
abi: companionAbi,
functionName: 'increasePosition',
args: [vault as ViemAddress, bigIntPositionId, asset, Uint.MAX_256, maxApprove],
args: [vault as ViemAddress, bigIntPositionId, depositToken, Uint.MAX_256, maxApprove],
})
);

Expand Down

0 comments on commit 81e34ec

Please sign in to comment.