mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
BeaconState: Expose MarshalSSZ (#8609)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user