Skip to content

Commit

Permalink
remo
Browse files Browse the repository at this point in the history
  • Loading branch information
maksim.konovalov committed Jan 10, 2025
1 parent 198f6cd commit bf00e3c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,7 @@ func (r *vshardStorageCallResponseProto) DecodeMsgpack(d *msgpack.Decoder) error
// isVShardRespOk is true
buf := bytes.NewBuffer(nil)

adjustmentByte := byte(respArrayLen - 1)

// write that it is array and length of adjustment
buf.Write([]byte{0xDD, 0, 0, 0, adjustmentByte})
buf.WriteByte(msgpcode.FixedArrayLow | byte(respArrayLen-1))

_, err = buf.ReadFrom(d.Buffered())
if err != nil {
Expand Down

0 comments on commit bf00e3c

Please sign in to comment.