fix: use _client not client

This commit is contained in:
Derrick Hammer 2023-07-13 01:43:23 -04:00
parent 481757e019
commit 76e22fa342
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@ export default class Prover implements IProver {
count: number,
): Promise<LightClientUpdate[]> {
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;