From f6804b0a4fdc26fa5a82830f2643871f2d2e2c9c Mon Sep 17 00:00:00 2001 From: Bastien Faivre Date: Thu, 26 Dec 2024 14:01:06 +0100 Subject: [PATCH] fix: Argent Mobile signature --- frontend/src/App.tsx | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 5b92554..d260a77 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -43,8 +43,6 @@ const App: React.FC = () => { const [verificationResult, setVerificationResult] = useState(null); const [verificationError, setVerificationError] = useState(null); - const [temp, setTemp] = useState(null); - const connectButtonClicked = async () => { setConnectIsLoading(true); try { @@ -90,7 +88,6 @@ const App: React.FC = () => { setCopied([false, false]); setSignatures([{ r: BigInt(sig[0]), s: BigInt(sig[1]) } as WeierstrassSignatureType]); } else { - setTemp(sig); // Likely Argent signature const numberOfSignatures = sig[0]; if (sig.length === 1 + 4 * numberOfSignatures) { @@ -186,16 +183,6 @@ const App: React.FC = () => { - {temp && ( - - Temp - {temp.map((item, index) => ( - - {BigInt(item).toString(16).length > 30 ? `${BigInt(item).toString(16).slice(0, 5)}...${BigInt(item).toString(16).slice(-5)}` : BigInt(item).toString(16)} - - ))} - - )}