Skip to content

Commit

Permalink
Update WETH10.sol
Browse files Browse the repository at this point in the history
add missing periods from comments. now, pen's down :~))
  • Loading branch information
Ro5s committed Mar 1, 2021
1 parent 4e7ed40 commit 34d2712
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/WETH10.sol
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ contract WETH10 is IWETH10 {
_DOMAIN_SEPARATOR = _calculateDomainSeparator(chainId);
}

/// @dev Calculate the DOMAIN_SEPARATOR
/// @dev Calculate the DOMAIN_SEPARATOR.
function _calculateDomainSeparator(uint256 chainId) private view returns (bytes32) {
return keccak256(
abi.encode(
Expand All @@ -61,7 +61,7 @@ contract WETH10 is IWETH10 {
);
}

/// @dev Return the DOMAIN_SEPARATOR
/// @dev Return the DOMAIN_SEPARATOR.
function DOMAIN_SEPARATOR() external view override returns (bytes32) {
uint256 chainId;
assembly {chainId := chainid()}
Expand Down

0 comments on commit 34d2712

Please sign in to comment.