Skip to content

Commit

Permalink
Fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
vladbochok committed Feb 2, 2022
1 parent 7ebce05 commit af524e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/contracts/Utils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ library Utils {
signV := byte(0, mload(add(_signature, 96)))
}

address recoverAddress = ecrecover(_messageHash, signV, signR, signS);
require(recoverAddress != address(0), "p4"); // invalid signature
address recoveredAddress = ecrecover(_messageHash, signV, signR, signS);
require(recoveredAddress != address(0), "p4"); // invalid signature

return recoverAddress;
return recoveredAddress;
}

/// @notice Returns new_hash = hash(old_hash + bytes)
Expand Down

0 comments on commit af524e3

Please sign in to comment.