[#1180] ir/internal: Fix audit range hash type

Signed-off-by: ZhangTao1596 <zhangtao@ngd.neo.org>
This commit is contained in:
ZhangTao1596 2022-02-14 17:33:04 +08:00 committed by LeL
parent 838a3fdb85
commit dd0e10d306

View file

@ -240,6 +240,7 @@ func (x Client) HashPayloadRange(prm HashPayloadRangePrm) (res HashPayloadRangeR
cliPrm.WithAddress(prm.objAddr) cliPrm.WithAddress(prm.objAddr)
cliPrm.WithRangeList(prm.rng) cliPrm.WithRangeList(prm.rng)
cliPrm.TZ()
cliRes, err := x.c.HashObjectPayloadRanges(prm.ctx, &cliPrm, cliRes, err := x.c.HashObjectPayloadRanges(prm.ctx, &cliPrm,
client.WithKey(x.key), client.WithKey(x.key),