Skip to content

Commit

Permalink
Making it more obvious value is being ignored and index is only used
Browse files Browse the repository at this point in the history
  • Loading branch information
dadepo authored and dapplion committed Jun 26, 2022
1 parent ba36147 commit b12bdb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lodestar/src/api/impl/lightclient/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function getLightclientApi(

// eslint-disable-next-line @typescript-eslint/naming-convention
async getUpdates(start_period, count) {
const periods = Array.from({length: count}, (x, i) => i + start_period);
const periods = Array.from({length: count}, (_ignored, i) => i + start_period);
const updates = await Promise.all(periods.map((period) => chain.lightClientServer.getUpdates(period)));
return {data: updates};
},
Expand Down

0 comments on commit b12bdb5

Please sign in to comment.