Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
fix: AirSwap sAST V3 balances (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
immasandwich authored Apr 29, 2022
1 parent 5cc86f4 commit e5ef04b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/apps/airswap/ethereum/airswap.balance-fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ export class EthereumAirswapBalanceFetcher implements BalanceFetcher {
}

async getBalances(address: string) {
const [airswapTokenBalances] = await Promise.all([
const [sASTv2Balances, sASTv3Balnaces] = await Promise.all([
this.getAirswapTokenBalances(address, sASTv2GroupId),
this.getAirswapTokenBalances(address, sASTv3GroupId),
]);

return presentBalanceFetcherResponse([
{
label: AIRSWAP_DEFINITION.name,
assets: airswapTokenBalances,
label: 'Staking',
assets: [...sASTv2Balances, ...sASTv3Balnaces],
},
]);
}
Expand Down

0 comments on commit e5ef04b

Please sign in to comment.