Skip to content

Commit

Permalink
Quel ostie con!
Browse files Browse the repository at this point in the history
  • Loading branch information
billettc committed Oct 3, 2023
1 parent d155a32 commit 6acf673
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion accountresolver/bundlerreader.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ func (r *BundleReader) fillBuffer() error {
if len(data) < bstream.GetBlockWriterHeaderLen {
return fmt.Errorf("one-block-file corrupt: expected header size of %d, but file size is only %d bytes", bstream.GetBlockWriterHeaderLen, len(data))
}
data = data[bstream.GetBlockWriterHeaderLen:]
//data = data[bstream.GetBlockWriterHeaderLen:]
data = data[:bstream.GetBlockWriterHeaderLen]
r.readBuffer = data
r.readBufferOffset = 0
return nil
Expand Down

0 comments on commit 6acf673

Please sign in to comment.