This commit is contained in:
Philip Dubé 2024-04-03 19:59:08 +00:00
parent 5dbfbaff9d
commit 3aecf53c33

View file

@ -1512,7 +1512,7 @@ func (d Decimal) MarshalBinary() (data []byte, err error) {
return nil, err
}
// Write the exponent in front since it's a fixed size
// Write the exponent in front, since it's a fixed size
expData := make([]byte, 4, len(valueData)+4)
binary.BigEndian.PutUint32(expData, uint32(d.exp))