diff --git a/src/node/index.ts b/src/node/index.ts index 9acf96f..33f926e 100644 --- a/src/node/index.ts +++ b/src/node/index.ts @@ -12,7 +12,7 @@ function createDefaultClient(beaconUrl: string): Client { await consensusClient.get( `/eth/v1/beacon/light_client/updates?start_period=${args.start}&count=${args.count}`, ) - ).data; + ).data.map((item) => item.data); }), beaconUrl, async optimisticUpdateCallback() {