diff --git a/spec/electra/pendingpartialwithdrawal_ssz.go b/spec/electra/pendingpartialwithdrawal_ssz.go index 74c1a0a6..874d3c66 100644 --- a/spec/electra/pendingpartialwithdrawal_ssz.go +++ b/spec/electra/pendingpartialwithdrawal_ssz.go @@ -17,7 +17,7 @@ func (p *PendingPartialWithdrawal) MarshalSSZ() ([]byte, error) { func (p *PendingPartialWithdrawal) MarshalSSZTo(buf []byte) (dst []byte, err error) { dst = buf - // Field (0) 'Index' + // Field (0) 'ValidatorIndex' dst = ssz.MarshalUint64(dst, uint64(p.ValidatorIndex)) // Field (1) 'Amount' @@ -37,7 +37,7 @@ func (p *PendingPartialWithdrawal) UnmarshalSSZ(buf []byte) error { return ssz.ErrSize } - // Field (0) 'Index' + // Field (0) 'ValidatorIndex' p.ValidatorIndex = phase0.ValidatorIndex(ssz.UnmarshallUint64(buf[0:8])) // Field (1) 'Amount' @@ -64,7 +64,7 @@ func (p *PendingPartialWithdrawal) HashTreeRoot() ([32]byte, error) { func (p *PendingPartialWithdrawal) HashTreeRootWith(hh ssz.HashWalker) (err error) { indx := hh.Index() - // Field (0) 'Index' + // Field (0) 'ValidatorIndex' hh.PutUint64(uint64(p.ValidatorIndex)) // Field (1) 'Amount'