From 8677bc1294a81d37f42cd23d1b7860c458a93e19 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 13 Jul 2023 12:45:49 -0400 Subject: [PATCH] fix: parse from u, not u.data --- src/prover.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prover.ts b/src/prover.ts index bdcfd20..d9e8a46 100644 --- a/src/prover.ts +++ b/src/prover.ts @@ -84,7 +84,7 @@ export default class Prover implements IProver { .reduce((prev, cur) => { return prev.concat(cur); }, []) - .map((u: any) => capella.ssz.LightClientUpdate.fromJson(u.data)), + .map((u: any) => capella.ssz.LightClientUpdate.fromJson(u)), ); } }