refactor: remove block check from isSynced

This commit is contained in:
Derrick Hammer 2023-07-15 00:18:15 -04:00
parent e49de4e907
commit fbfb9c1e06
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 4 deletions

View File

@ -61,10 +61,7 @@ export default abstract class BaseClient {
} }
public get isSynced() { public get isSynced() {
return ( return this._latestPeriod === this.getCurrentPeriod();
this._latestPeriod === this.getCurrentPeriod() &&
this.getLastBlock() === this.getCurrentBlock()
);
} }
public get store(): IStore { public get store(): IStore {