ampleforth / token-geyser-v2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GEY-01: Variable Shadowing

thegostep opened this issue · comments

type severity location
Data Flow Informational https://github.com/ampleforth/token-geyser-v2/blob/c970676aaecb08e942fe1088a4b1ddcb26655fe6/contracts/Geyser.sol%23L260

Description:

The linked variable shadows an existing declaration in a parent contract, OwnableUpgradeable , of the owner function that retrieves the owner of the contract.

Recommendation:

We advise that the initialize variable is renamed to ensure no such shadowing occurs, even though it does not pose an issue in the current implementation.