Skip to content

Commit

Permalink
EraPointsJob: support fetching data for era 0
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianFranzen committed May 6, 2024
1 parent 8bbc188 commit 1b971d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const individualEraPointsJob = async (
const data = await chaindata.getTotalEraPoints(eraIndex);
if (
data &&
data.era &&
data.era == eraIndex &&
data.total &&
data.validators &&
data.validators.length > 0
Expand Down

0 comments on commit 1b971d6

Please sign in to comment.