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

Commit

Permalink
fix(dolomite): Fix case when no contract positions exist
Browse files Browse the repository at this point in the history
  • Loading branch information
immasandwich committed Nov 16, 2023
1 parent 0985663 commit 7d4396c
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -218,6 +218,8 @@ export abstract class DolomiteContractPositionTemplatePositionFetcher extends Cu
groupIds: [this.groupId],
});

if (defaultContractPositions.length === 0) return [];

if (this.isFetchingDolomiteBalances()) {
const isolationModeVaults = await getAllIsolationModeTokensFromContractPositions(
account,
Expand Down

0 comments on commit 7d4396c

Please sign in to comment.