mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix lint
This commit is contained in:
@@ -86,7 +86,7 @@ const makeLtHashGenerator = ({ indexValueMap, hash }: Pick<LTHashState, 'hash' |
|
|||||||
subBuffs.push(new Uint8Array(prevOp.valueMac).buffer)
|
subBuffs.push(new Uint8Array(prevOp.valueMac).buffer)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
finish: async () => {
|
finish: async() => {
|
||||||
const hashArrayBuffer = new Uint8Array(hash).buffer
|
const hashArrayBuffer = new Uint8Array(hash).buffer
|
||||||
const result = await LT_HASH_ANTI_TAMPERING.subtractThenAdd(hashArrayBuffer, addBuffs, subBuffs)
|
const result = await LT_HASH_ANTI_TAMPERING.subtractThenAdd(hashArrayBuffer, addBuffs, subBuffs)
|
||||||
const buffer = Buffer.from(result)
|
const buffer = Buffer.from(result)
|
||||||
|
|||||||
Reference in New Issue
Block a user