mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-28 14:47:16 +00:00
Proper reset of decompressor getter (#299)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
This commit is contained in:
parent
11615db276
commit
55080d5c01
@ -217,6 +217,9 @@ func (d *Decompressor) MakeGetter() *Getter {
|
||||
|
||||
func (g *Getter) Reset(offset uint64) {
|
||||
g.dataP = offset
|
||||
g.offset = 0
|
||||
g.mask = 0
|
||||
g.b = 0
|
||||
}
|
||||
|
||||
func (g *Getter) HasNext() bool {
|
||||
|
Loading…
Reference in New Issue
Block a user