fix: parse from u, not u.data
This commit is contained in:
parent
91144cb5a2
commit
8677bc1294
|
@ -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)),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue