fix: use _client not client
This commit is contained in:
parent
481757e019
commit
76e22fa342
|
@ -29,8 +29,8 @@ export default class Prover implements IProver {
|
||||||
count: number,
|
count: number,
|
||||||
): Promise<LightClientUpdate[]> {
|
): Promise<LightClientUpdate[]> {
|
||||||
let end = startPeriod + count;
|
let end = startPeriod + count;
|
||||||
let hasStart = this.client.store.hasUpdate(startPeriod);
|
let hasStart = this._client?.store.hasUpdate(startPeriod);
|
||||||
let hasEnd = this.client.store.hasUpdate(startPeriod + count);
|
let hasEnd = this._client?.store.hasUpdate(startPeriod + count);
|
||||||
|
|
||||||
let trueStart = startPeriod;
|
let trueStart = startPeriod;
|
||||||
let trueCount = count;
|
let trueCount = count;
|
||||||
|
|
Loading…
Reference in New Issue