Skip to content

Commit

Permalink
forge fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
saucepoint committed Aug 3, 2024
1 parent 4cd765a commit cd8b760
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/base/EIP712.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ contract EIP712 is IEIP712 {
/// @notice Returns the domain separator for the current chain.
/// @dev Uses cached version if chainid and address are unchanged from construction.
function DOMAIN_SEPARATOR() public view override returns (bytes32) {
return block.chainid == _CACHED_CHAIN_ID
? _CACHED_DOMAIN_SEPARATOR
: _buildDomainSeparator();
return block.chainid == _CACHED_CHAIN_ID ? _CACHED_DOMAIN_SEPARATOR : _buildDomainSeparator();
}

/// @notice Builds a domain separator using the current chainId and contract address.
Expand Down

0 comments on commit cd8b760

Please sign in to comment.