Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Jun 14, 2024
1 parent f45965d commit 5aad795
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/epochs/contract-epoch-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@ export class ContractEpochSource implements IEpochTimestampSource {
) {
return this.epochParams;
}
const { startTimestamp, startHeight, endTimestamp, epochIndex } = await this.contract.getCurrentEpoch();

// TODO: handle if this call fails, either throw error or use defaults
const { startTimestamp, startHeight, endTimestamp, epochIndex } =
await this.contract.getCurrentEpoch();

this.log.info('Updating epoch params.', {
startTimestamp: startTimestamp,
Expand Down

0 comments on commit 5aad795

Please sign in to comment.