fix: syncFromGenesis was a no-op

This commit is contained in:
Derrick Hammer 2023-07-11 16:54:13 -04:00
parent ebfd606a9d
commit 822b0b46b6
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ export default class Client extends BaseClient {
} }
protected syncFromGenesis(): Promise<Uint8Array[]> { protected syncFromGenesis(): Promise<Uint8Array[]> {
return Promise.resolve([]); return this.syncFromLastUpdate(0);
} }
protected async syncFromLastUpdate( protected async syncFromLastUpdate(