Skip to content

Commit

Permalink
Rename computeMessage with getSignedMessageHash
Browse files Browse the repository at this point in the history
  • Loading branch information
makoto committed Apr 4, 2024
1 parent 3b69cd7 commit 305e12f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/reverseRegistrar/SignatureReverseResolver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ contract SignatureReverseResolver is ISignatureReverseResolver {

function isAuthorised(address addr) internal view virtual returns (bool) {}

function computeMessage(
function getSignedMessageHash(
bytes32 hash,
address addr,
uint256 inceptionDate
Expand All @@ -75,7 +75,7 @@ contract SignatureReverseResolver is ISignatureReverseResolver {
uint256 inceptionDate,
bytes memory signature
) internal view returns (bool) {
bytes32 message = computeMessage(hash, addr, inceptionDate);
bytes32 message = getSignedMessageHash(hash, addr, inceptionDate);
bytes32 node = _getNamehash(addr);

if (!SignatureChecker.isValidSignatureNow(addr, message, signature)) {
Expand Down

0 comments on commit 305e12f

Please sign in to comment.