refactor: remove block check from isSynced
This commit is contained in:
parent
e49de4e907
commit
fbfb9c1e06
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue