mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
no min
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
125e933da1
commit
a35b45d1d7
1 changed files with 0 additions and 5 deletions
|
|
@ -272,11 +272,6 @@ func (b *blockWriter) append(id uint64) error {
|
||||||
b.data = binary.AppendUvarint(b.data, id-b.desc.max)
|
b.data = binary.AppendUvarint(b.data, id-b.desc.max)
|
||||||
}
|
}
|
||||||
b.desc.entries++
|
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
|
b.desc.max = id
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue