Skip to content

Commit

Permalink
Merge pull request #12 from ertemann/fix-debuglog-typo
Browse files Browse the repository at this point in the history
typo: fecth --> fetch
  • Loading branch information
ALPAC-4 authored Sep 13, 2024
2 parents 152e59f + 8335519 commit 23bfaf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chain/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export class Chain {
this.packetsToHandle.push(...results)
this.fedHeight = heights[heights.length - 1]
} catch (e) {
this.error(`Fail to fecth block result. resonse - ${e}`)
this.error(`Fail to fetch block result. resonse - ${e}`)
} finally {
this.workers['event_feeder'] = new Date().valueOf()
await delay(100)
Expand Down Expand Up @@ -516,7 +516,7 @@ export class Chain {
private async fetchBlockResult(
height: number
): Promise<PacketEventWithIndex[]> {
this.debug(`Fecth new block results (height - ${height})`)
this.debug(`Fetch new block results (height - ${height})`)
const blockResult = await this.rpc.blockResults(height)
const txData = [...blockResult.results]

Expand Down

0 comments on commit 23bfaf5

Please sign in to comment.