Skip to content

Commit

Permalink
Update epoch-progress.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljscript committed Sep 20, 2024
1 parent 9aa5372 commit fb31495
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function epochProgress(epochInfo: Network.EpochInfo) {
break
}
absoluteSlot += Math.floor(
((era.end?.getTime() ?? new Date().getTime()) - era.start.getTime()) / 1e3 / era.slotInSeconds,
((era.end?.getTime() ?? date.getTime()) - era.start.getTime()) / 1e3 / era.slotInSeconds,
)
}

Expand Down

0 comments on commit fb31495

Please sign in to comment.