Skip to content

Commit

Permalink
amazing tool. minor format adjust
Browse files Browse the repository at this point in the history
outputted solidity adjusted for formatting consistency.
thanks so much for putting this tool out there it is insanely helpful
  • Loading branch information
robriks authored Dec 24, 2022
1 parent 52faf57 commit e23ee82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand All @@ -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;
}
Expand Down

0 comments on commit e23ee82

Please sign in to comment.