fix incorrect buffer length

This commit is contained in:
kim 2025-04-23 12:46:30 +01:00
commit c34589d281

View file

@ -62,7 +62,7 @@ func NoLLaMas(getInstanceV1 func(context.Context) (*apimodel.InstanceV1, gtserro
}
// i.e. outputted hash slice length.
const hashLen = sha256.BlockSize
const hashLen = sha256.Size
// i.e. hex.EncodedLen(hashLen).
const encodedHashLen = 2 * hashLen