Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
hujw77 committed Oct 22, 2024
1 parent 56e96d7 commit bb138bb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/PREPLK.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ contract PreParaLink is
Ownable2StepUpgradeable,
UUPSUpgradeable
{
// This function must be overridden to include access restriction to the upgrade mechanism.
function _authorizeUpgrade(address newImplementation) internal override onlyOwner {}

/// @custom:oz-upgrades-unsafe-allow constructor
constructor() {
_disableInitializers();
Expand Down Expand Up @@ -53,8 +56,6 @@ contract PreParaLink is
return "mode=timestamp";
}

function _authorizeUpgrade(address newImplementation) internal override onlyOwner {}

// The following functions are overrides required by Solidity.

function _update(address from, address to, uint256 value)
Expand Down

0 comments on commit bb138bb

Please sign in to comment.