diff --git a/api/deneb/builderbid_ssz.go b/api/deneb/builderbid_ssz.go index fccb258..4b11c8a 100644 --- a/api/deneb/builderbid_ssz.go +++ b/api/deneb/builderbid_ssz.go @@ -31,8 +31,9 @@ func (b *BuilderBid) MarshalSSZTo(buf []byte) (dst []byte, err error) { offset += len(b.BlobKZGCommitments) * 48 // Field (2) 'Value' - for ii := 0; ii < 32; ii++ { - dst = ssz.MarshalUint64(dst, b.Value[ii]) + value := b.Value.Bytes32() + for i := 0; i < 32; i++ { + dst = append(dst, value[31-i]) } // Field (3) 'Pubkey'