Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentwschau committed Oct 22, 2024
1 parent 60639d9 commit 5de986d
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -590,16 +590,16 @@ async function getFundingIndexMapsChunked(
}).sort();
const aggregateFundingIndexMaps: {[blockHeight: string]: FundingIndexMap} = {};
await Promise.all(getHeightWindows(updatedAtHeightsNum).map(
async (heightWindow: number[]): Promise<void> => {
const fundingIndexMaps: {[blockHeight: string]: FundingIndexMap} = await
async (heightWindow: number[]): Promise<void> => {
const fundingIndexMaps: {[blockHeight: string]: FundingIndexMap} = await
FundingIndexUpdatesTable
.findFundingIndexMaps(
heightWindow.map((heightNum: number): string => { return heightNum.toString(); }),
);
for (const height of _.keys(fundingIndexMaps)) {
aggregateFundingIndexMaps[height] = fundingIndexMaps[height];
}
}));
.findFundingIndexMaps(
heightWindow.map((heightNum: number): string => { return heightNum.toString(); }),
);
for (const height of _.keys(fundingIndexMaps)) {
aggregateFundingIndexMaps[height] = fundingIndexMaps[height];
}
}));
return aggregateFundingIndexMaps;
}

Expand Down

0 comments on commit 5de986d

Please sign in to comment.