mirror of
https://github.com/everoddandeven/monerod-gui.git
synced 2025-01-03 09:29:36 +00:00
Fix coreSynchronized
This commit is contained in:
parent
8eea7839f9
commit
3cb1e4624b
1 changed files with 3 additions and 1 deletions
|
@ -64,7 +64,9 @@ export class DaemonInfo {
|
||||||
}
|
}
|
||||||
|
|
||||||
public get coreSynchronized(): boolean {
|
public get coreSynchronized(): boolean {
|
||||||
return this.wasBoostrapEverUsed ? this.heightWithoutBootstrap == this.targetHeight : this.synchronized;
|
const targetHeight = this.targetHeight == 0 ? this.height : this.targetHeight;
|
||||||
|
|
||||||
|
return this.wasBoostrapEverUsed ? this.heightWithoutBootstrap == targetHeight : this.synchronized;
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
|
|
Loading…
Reference in a new issue