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() {
|
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 {
|
||||||
|
|
Loading…
Reference in New Issue