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

Commit

Permalink
fix(app-token-template): lowercase app-token addresses in the template (
Browse files Browse the repository at this point in the history
  • Loading branch information
wpoulin authored Aug 24, 2022
1 parent 33239dd commit 2f40637
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/position/template/app-token.template.position-fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ export abstract class AppTokenTemplatePositionFetcher<T extends Contract, V exte
tags: { network: this.network, context: `${this.appId}__template` },
});

const addresses = await this.getAddresses({ multicall });
const addressesRaw = await this.getAddresses({ multicall });
const addresses = addressesRaw.map(x => x.toLowerCase());

const maybeSkeletons = await Promise.all(
addresses.map(async (address, index) => {
Expand Down

0 comments on commit 2f40637

Please sign in to comment.