Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/layerzero-v2/evm/oapp/contracts/oapp/OAppCore.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ abstract contract OAppCore is IOAppCore, Ownable {
*
* @dev The delegate typically should be set as the owner of the contract.
*/
constructor(address _endpoint, address _delegate) {
constructor(address _endpoint, address _delegate) Ownable(_delegate) {
endpoint = ILayerZeroEndpointV2(_endpoint);

if (_delegate == address(0)) revert InvalidDelegate();
Expand Down