Fix HookOn initial value.

This commit is contained in:
muzam1l
2023-03-28 15:14:43 +05:30
parent 6265a9cdbf
commit 2c3cfebe3a

View File

@@ -30,7 +30,7 @@ export const tts = {
export type TTS = typeof tts
const calculateHookOn = (arr: (keyof TTS)[]) => {
let s = '0x3e3ff5bf'
let s = '0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbfffff'
arr.forEach(n => {
let v = BigInt(s)
v ^= BigInt(1) << BigInt(tts[n])