Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
jsvisa 2025-07-21 17:30:33 +08:00
parent 125e933da1
commit a35b45d1d7

View file

@ -272,11 +272,6 @@ func (b *blockWriter) append(id uint64) error {
b.data = binary.AppendUvarint(b.data, id-b.desc.max)
}
b.desc.entries++
// The state history ID must be greater than 0.
//if b.desc.min == 0 {
// b.desc.min = id
//}
b.desc.max = id
return nil
}