Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jianoaix committed Jun 17, 2024
1 parent 3af187f commit 6dd9254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ func EncodeChunks(chunks [][]byte) ([]byte, error) {
buf := result
for _, chunk := range chunks {
binary.LittleEndian.PutUint64(buf, uint64(len(chunk)))
buf = buf[4:]
buf = buf[8:]
copy(buf, chunk)
buf = buf[len(chunk):]
}
Expand Down

0 comments on commit 6dd9254

Please sign in to comment.