Skip to content

Commit

Permalink
forge fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
scolear committed Sep 25, 2024
1 parent e9e0ebd commit 6606b8f
Show file tree
Hide file tree
Showing 6 changed files with 93 additions and 282 deletions.
10 changes: 3 additions & 7 deletions src/DLCBTC.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,7 @@ import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
* @custom:contact eng@dlc.link
* @custom:website https://www.dlc.link
*/
contract DLCBTC is
Initializable,
ERC20Upgradeable,
ERC20PermitUpgradeable,
OwnableUpgradeable
{
contract DLCBTC is Initializable, ERC20Upgradeable, ERC20PermitUpgradeable, OwnableUpgradeable {
mapping(address => bool) public blacklisted; // deprecated. there is no blacklisting anymore
address private _minter;
address private _burner;
Expand All @@ -48,8 +43,9 @@ contract DLCBTC is
}

modifier onlyOwnerOrCCIPMinter() {
if (msg.sender != _minter && msg.sender != owner())
if (msg.sender != _minter && msg.sender != owner()) {
revert NotAuthorized();
}
_;
}

Expand Down
Loading

0 comments on commit 6606b8f

Please sign in to comment.