Remove logging
This commit is contained in:
@@ -222,7 +222,6 @@ export const AccountDialog = ({
|
||||
fontFamily: "$monospace",
|
||||
}}
|
||||
>
|
||||
{activeAccount && console.log(activeAccount.hooks)}
|
||||
{activeAccount &&
|
||||
activeAccount.hooks.map((i) => truncate(i, 6)).join(",")}
|
||||
</Text>
|
||||
|
||||
@@ -22,7 +22,6 @@ export default async function handler(
|
||||
return res.status(405).json({ error: 'Method not allowed!' })
|
||||
}
|
||||
const { account } = req.query;
|
||||
console.log(req.query)
|
||||
const ip = Array.isArray(req?.headers?.["x-real-ip"]) ? req?.headers?.["x-real-ip"][0] : req?.headers?.["x-real-ip"];
|
||||
try {
|
||||
const response = await fetch(`https://${process.env.NEXT_PUBLIC_TESTNET_URL}/newcreds?account=${account ? account : ''}`, {
|
||||
|
||||
@@ -25,8 +25,6 @@ export type TTS = typeof tts;
|
||||
|
||||
const calculateHookOn = (arr: (keyof TTS)[]) => {
|
||||
let start = '0x00000000003ff5bf';
|
||||
// const xorredArr = xor(Object.keys(tts).filter(i => i !== 'ttHOOK_SET'), arr);
|
||||
// console.log(xorredArr, 'aa')
|
||||
arr.forEach(n => {
|
||||
let v = BigInt(start);
|
||||
v ^= (BigInt(1) << BigInt(tts[n as keyof TTS]));
|
||||
|
||||
Reference in New Issue
Block a user