BeaconState: Expose MarshalSSZ (#8609)

This commit is contained in:
terence tsao
2021-03-15 17:43:27 -07:00
committed by GitHub
parent aa389c82a1
commit 9fea9816bd
9 changed files with 25 additions and 10 deletions

View File

@@ -37,7 +37,7 @@ func main() {
if gs == nil {
panic("nil genesis state")
}
b, err := gs.InnerStateUnsafe().MarshalSSZ()
b, err := gs.MarshalSSZ()
if err != nil {
panic(err)
}