From e23ee8205718d15df6289ef0c12addce90038a36 Mon Sep 17 00:00:00 2001 From: robriks <80549215+robriks@users.noreply.github.com> Date: Sat, 24 Dec 2022 00:44:00 -0500 Subject: [PATCH] amazing tool. minor format adjust outputted solidity adjusted for formatting consistency. thanks so much for putting this tool out there it is insanely helpful --- index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.ts b/index.ts index b6081e2..40b91ed 100644 --- a/index.ts +++ b/index.ts @@ -61,7 +61,7 @@ contract EIP712Decoder { bytes32 s; uint8 v; - //Check the signature length + // Check the signature length if (sig.length != 65) { return (address(0)); } @@ -72,7 +72,7 @@ contract EIP712Decoder { s := mload(add(sig, 64)) v := byte(0, mload(add(sig, 96))) } -// Version of signature should be 27 or 28, but 0 and 1 are also possible versions + // Version of signature should be 27 or 28, but 0 and 1 are also possible versions if (v < 27) { v += 27; }