diff --git a/src/prover.ts b/src/prover.ts index 3ce6065..9f642ee 100644 --- a/src/prover.ts +++ b/src/prover.ts @@ -29,8 +29,8 @@ export default class Prover implements IProver { count: number, ): Promise { let end = startPeriod + count; - let hasStart = this.client.store.hasUpdate(startPeriod); - let hasEnd = this.client.store.hasUpdate(startPeriod + count); + let hasStart = this._client?.store.hasUpdate(startPeriod); + let hasEnd = this._client?.store.hasUpdate(startPeriod + count); let trueStart = startPeriod; let trueCount = count;