Skip to content

Commit

Permalink
fix(protocol): fix address manager init (#17075)
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik authored May 10, 2024
1 parent 13ad99d commit b7bd29c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/protocol/contracts/common/AddressManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ contract AddressManager is EssentialContract, IAddressManager {
addressManager = address(this);
}

function init2() external onlyOwner reinitializer(2) {
addressManager = address(this);
}

/// @notice Sets the address for a specific chainId-name pair.
/// @param _chainId The chainId to which the address will be mapped.
/// @param _name The name to which the address will be mapped.
Expand Down

0 comments on commit b7bd29c

Please sign in to comment.