From b3f8dba243465e9a0a6030727e69ab1491cbd2dc Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 16 Sep 2023 12:12:30 -0400 Subject: [PATCH] fix: need to call our boot method --- src/client/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/client.ts b/src/client/client.ts index a8ae6af..d38ed3a 100644 --- a/src/client/client.ts +++ b/src/client/client.ts @@ -59,7 +59,6 @@ export default class Client extends BaseClient { ); this.latestCommittee = checkpoint.nextSyncCommittee.pubkeys; if (this._latestPeriod + 1 === this.getCurrentPeriod()) { - this.booted = true; this.emit("synced"); await init("herumi"); this._latestPeriod = this.getCurrentPeriod(); @@ -69,6 +68,7 @@ export default class Client extends BaseClient { } else { await super.sync(); } + await this.boot(); } public async rpcCall(method: string, params: any) {