TRIBERageQuit: Redundant oracleAddress variable #108
Labels
bug
Something isn't working
G (Gas Optimization)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
hickuphh3
Vulnerability details
Impact
The following line
is only used in the instantiation of the oracle
IOracle public constant oracle = IOracle(oracleAddress);
The first instantiation can be combined with the second to save gas.
Recommended Mitigation Steps
IOracle public constant oracle = IOracle(0xd1866289B4Bd22D453fFF676760961e0898EE9BF);
The text was updated successfully, but these errors were encountered: