Skip to content

Commit

Permalink
fix: pass vaultDynamic addresses through so the lens adapter will be …
Browse files Browse the repository at this point in the history
…called with correct params (#247)

* fix: pass the addresses through so the lens adapter will be called with the correct params.

* fix: adding overrides to getDynamic call
  • Loading branch information
mariuspod authored Mar 15, 2022
1 parent d998080 commit 6c97642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interfaces/vault.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class VaultInterface<T extends ChainId> extends ServiceInterface<T> {

let assetsDynamic: VaultDynamic[] = [];
try {
assetsDynamic = await this.getDynamic();
assetsDynamic = await this.getDynamic(addresses, vaultMetadataOverrides, overrides);
} catch {
const allAddresses = assetsStatic.map(asset => asset.address);
const chunks = chunkArray(allAddresses, 30);
Expand Down

0 comments on commit 6c97642

Please sign in to comment.