[#158] client: Fix length setter in object hash range

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
remotes/fyrchik/split-info-json
Alex Vanin 2022-03-02 15:49:11 +03:00 committed by Alex Vanin
parent bf23b548ab
commit 7ef141aab7
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ func (x *PrmObjectHash) SetRangeList(r ...uint64) {
for i := 0; i < ln/2; i++ {
rs[i] = new(v2object.Range)
rs[i].SetOffset(r[2*i])
rs[i].SetOffset(r[2*i+1])
rs[i].SetLength(r[2*i+1])
}
x.body.SetRanges(rs)