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

Return minimumAuthorization instead of _minimumAuthorization #214

Closed
wants to merge 1 commit into from

Conversation

theref
Copy link
Contributor

@theref theref commented Dec 4, 2023

Fixes #213

Type of PR:

  • Bugfix

Required reviews:

  • 1

variables prefixed with underscores are for internal use, an external view function should return variables without the underscore prefix

Copy link
Member

@vzotova vzotova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minimumAuthorization shadows main getter with the same name. Even it's warning - I strongly agree with it. I can't say I have easy solution but we should discuss it. And especially in threshold-network/solidity-contracts#157

@theref
Copy link
Contributor Author

theref commented Dec 4, 2023

ok, I'm happy to put this on the back burner for now because I can work around it in the dashboard

@cygnusv cygnusv closed this Dec 4, 2023
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.

Return minimumAuthorization instead of _minimumAuthorization
3 participants