Skip to content

Commit

Permalink
Merge pull request #7 from robriks/patch-2
Browse files Browse the repository at this point in the history
amazing tool. minor format adjustment
  • Loading branch information
danfinlay authored Jan 28, 2023
2 parents bdde870 + e23ee82 commit 337b2f8
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 337b2f8

Please sign in to comment.