Skip to content

fix: Remove redundant __Ownable_init call in Ownable2StepUpgradeable - #936

Open
famouswizard wants to merge 1 commit into
acre-btc:mainfrom
famouswizard:patch-1
Open

fix: Remove redundant __Ownable_init call in Ownable2StepUpgradeable#936
famouswizard wants to merge 1 commit into
acre-btc:mainfrom
famouswizard:patch-1

Conversation

@famouswizard

Copy link
Copy Markdown

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.

@netlify

netlify Bot commented Jan 28, 2025

Copy link
Copy Markdown

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

Visit the deploys page to approve it

Name Link
🔨 Latest commit 0962bb0

@netlify

netlify Bot commented Jul 10, 2025

Copy link
Copy Markdown

‼️ Deploy request for acre-dapp rejected.

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