Skip to content

Commit

Permalink
fix(sdk): address issue (#1018)
Browse files Browse the repository at this point in the history
  • Loading branch information
koredefashokun authored Oct 4, 2023
1 parent 7b24d94 commit 1a0aeaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/sdk/src/services/futures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ export default class FuturesService {
this.sdk.context.multicallProvider.getEthBalance(smartMarginAddress),
this.sdk.context.multicallProvider.getEthBalance(walletAddress),
SUSD.balanceOf(walletAddress),
SUSD.allowance(walletAddress, smartMarginAccountContract.address),
SUSD.allowance(walletAddress, smartMarginAddress),
])

return {
Expand Down Expand Up @@ -575,7 +575,7 @@ export default class FuturesService {
this.sdk.context.multicallProvider.getEthBalance(smartMarginAddress),
this.sdk.context.multicallProvider.getEthBalance(walletAddress),
SUSD.balanceOf(walletAddress),
SUSD.allowance(walletAddress, smartMarginAccountContract.address),
SUSD.allowance(walletAddress, smartMarginAddress),
USDC.balanceOf(walletAddress),
USDC.allowance(walletAddress, PERMIT2_ADDRESS),
// USDT.balanceOf(walletAddress),
Expand Down

0 comments on commit 1a0aeaf

Please sign in to comment.