diff --git a/src/processors/processor.ts b/src/processors/processor.ts index 70b35cf..e05bbe1 100644 --- a/src/processors/processor.ts +++ b/src/processors/processor.ts @@ -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