Skip to content

Commit

Permalink
add readlen to hash chan
Browse files Browse the repository at this point in the history
  • Loading branch information
Hitenjain14 committed Feb 19, 2025
1 parent a4e42c8 commit a0b02f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zboxcore/sdk/chunked_upload_chunk_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ func (r *chunkedUploadChunkReader) Next() (*ChunkData, error) {
}

if CurrentMode == UploadModeHigh {
r.hasherDataChan <- chunkBytes
r.hasherDataChan <- chunkBytes[:readLen]
} else {
_ = r.hasher.WriteToFile(chunkBytes)
}
Expand Down

0 comments on commit a0b02f4

Please sign in to comment.