From 76e22fa34258c771da281457e983a5addfef440b Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 13 Jul 2023 01:43:23 -0400 Subject: [PATCH] fix: use _client not client --- src/prover.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;