Remove logging

This commit is contained in:
Valtteri Karesto
2022-03-24 21:22:27 +02:00
parent bd32555617
commit fc7652f48e
3 changed files with 0 additions and 4 deletions

View File

@@ -222,7 +222,6 @@ export const AccountDialog = ({
fontFamily: "$monospace",
}}
>
{activeAccount && console.log(activeAccount.hooks)}
{activeAccount &&
activeAccount.hooks.map((i) => truncate(i, 6)).join(",")}
</Text>

View File

@@ -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 : ''}`, {

View File

@@ -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]));