Skip to content

Commit

Permalink
temp: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
BastienFaivre committed Dec 26, 2024
1 parent d8ddf11 commit 4f40855
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ const App: React.FC = () => {
setCopied([false, false]);
setSignatures([{ r: BigInt(sig[0]), s: BigInt(sig[1]) } as WeierstrassSignatureType]);
} else {
alert(sig);
// Likely Argent signature
const numberOfSignatures = sig[0];
if (sig.length !== 1 + 4 * numberOfSignatures) throw new Error("Invalid signature format");
Expand Down

0 comments on commit 4f40855

Please sign in to comment.