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 return parameter #3413

Merged
merged 1 commit into from
May 19, 2022
Merged

Fix return parameter #3413

merged 1 commit into from
May 19, 2022

Conversation

martriay
Copy link
Contributor

The return variable name of the TimelockController's isOperation function is misnamed. I propose changing it for registered.

function isOperation(bytes32 id) public view virtual returns (bool pending) {

@Amxx Amxx requested review from Amxx and frangio May 16, 2022 15:47
@Amxx
Copy link
Collaborator

Amxx commented May 16, 2022

LGTM, and change to return variable names are not breaking changes IMO.

@frangio any opinion?

@frangio
Copy link
Contributor

frangio commented May 16, 2022

Definitely not a breaking change. Shouldn't we remove the return variable name completely though? We don't use them throughout the codebase.

@Amxx Amxx merged commit 46db8a9 into master May 19, 2022
@Amxx Amxx deleted the fix/timelock-return-param branch May 19, 2022 13:52
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.

3 participants