diff --git a/src/client/client.ts b/src/client/client.ts index 7338aa3..7efcac4 100644 --- a/src/client/client.ts +++ b/src/client/client.ts @@ -3,6 +3,7 @@ import { IProver, IVerifyingProviderConstructor } from "#interfaces.js"; import { IClientVerifyingProvider } from "#client/verifyingProvider.js"; import { LightClientUpdate } from "#types.js"; import { computeSyncPeriodAtSlot } from "@lodestar/light-client/utils"; +import {init} from "@chainsafe/bls/switchable.js"; interface Config extends BaseClientOptions { prover: IProver; @@ -53,6 +54,7 @@ export default class Client extends BaseClient { if (this._latestPeriod + 1 === this.getCurrentPeriod()) { this.booted = true; this.emit("synced"); + await init("herumi"); await this.getLatestExecution(false); } else {