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

[Hacken 2022-11-25 Low #11] Redundant Use of Override Specifier #46

Closed
zhongfu opened this issue Dec 1, 2022 · 0 comments · Fixed by #49
Closed

[Hacken 2022-11-25 Low #11] Redundant Use of Override Specifier #46

zhongfu opened this issue Dec 1, 2022 · 0 comments · Fixed by #49
Labels
sev:p3 Low sev type:enhancement Good-to-have features or fixes

Comments

@zhongfu
Copy link
Contributor

zhongfu commented Dec 1, 2022

The approve() function does not need the override specifier in its declaration.

Starting from the 0.8.8 version, a function that overrides only a single interface function does not require the override specifier.

Path

./src/Funnel.sol : approve()

Recommendation

Consider removing redundant code.

Status

New

@zhongfu zhongfu added type:enhancement Good-to-have features or fixes sev:p3 Low sev labels Dec 1, 2022
@zhongfu zhongfu added this to the Hacken Audit 2022-11-25 milestone Dec 1, 2022
@zlace0x zlace0x linked a pull request Dec 5, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sev:p3 Low sev type:enhancement Good-to-have features or fixes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant