Fix coreSynchronized

This commit is contained in:
everoddandeven 2024-11-12 23:44:58 +01:00
parent 8eea7839f9
commit 3cb1e4624b

View file

@ -64,7 +64,9 @@ export class DaemonInfo {
}
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(