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

Commit

Permalink
fix(presenter): Check against balances, not grouped balances (#1917)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximebedard committed Dec 14, 2022
1 parent d61b88e commit d1c2f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/balance/balance-presentation.service.ts
Expand Up @@ -104,7 +104,7 @@ export class BalancePresentationService {

return Promise.all(
Object.entries(groupBalances).map(async ([computedGroupLabel, balances]) => {
if (!groupBalances.length) return;
if (!balances.length) return;

const groupMetaResolver = balanceMetaResolvers?.get(group.label);
const meta = groupMetaResolver && (await groupMetaResolver(address, balances).catch(_ => undefined));
Expand Down

0 comments on commit d1c2f2f

Please sign in to comment.