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