Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove redundant __Ownable_init call in Ownable2StepUpgradeable #936

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

famouswizard
Copy link

While working with Ownable2StepUpgradeable (part of OpenZeppelin Upgradeable contracts), I noticed that the function __Ownable_init does not exist. Instead, __Ownable2Step_init is used, which is already correctly called in the code. The line __Ownable_init(_owner); is redundant and can be safely removed to clean up the implementation.

This change ensures the code aligns with the intended design of the Ownable2StepUpgradeable contract.

Copy link

netlify bot commented Jan 28, 2025

👷 Deploy request for acre-dapp-testnet pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 0962bb0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant