Skip to content

Commit

Permalink
Merge pull request #10 from Cerebellum-Network/fix/inf-recursion
Browse files Browse the repository at this point in the history
Fix infinite recursion
  • Loading branch information
khssnv authored Aug 12, 2024
2 parents 8e5559b + 8418eb3 commit 635b47f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/processors/processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export abstract class BaseProcessor<
constructor(protected _state: State) {}

get state(): State {
return assertNotNull(this.state)
return assertNotNull(this._state)
}

abstract process(event: Event, block: BlockHeader): Promise<void>
Expand Down

0 comments on commit 635b47f

Please sign in to comment.