From fbfb9c1e0682081476348358084b052d6d9e6546 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 15 Jul 2023 00:18:15 -0400 Subject: [PATCH] refactor: remove block check from isSynced --- src/baseClient.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/baseClient.ts b/src/baseClient.ts index 5266034..55d8abf 100644 --- a/src/baseClient.ts +++ b/src/baseClient.ts @@ -61,10 +61,7 @@ export default abstract class BaseClient { } public get isSynced() { - return ( - this._latestPeriod === this.getCurrentPeriod() && - this.getLastBlock() === this.getCurrentBlock() - ); + return this._latestPeriod === this.getCurrentPeriod(); } public get store(): IStore {