fix: parse from u, not u.data

This commit is contained in:
Derrick Hammer 2023-07-13 12:45:49 -04:00
parent 91144cb5a2
commit 8677bc1294
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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)),
);
}
}