Open code423n4 opened 3 years ago
tensors
Poorly named variables in Gov.sol
_protocolPremium is a bool while protcolPremium is a mapping to uint. This is confusing a could potentially cause some input errors.
Rename variables.
Will change the _protocolPremium bool to _isProtocolPremium
_protocolPremium
_isProtocolPremium
Severity is 0 non critical
yes, this is non-critical
Handle
tensors
Vulnerability details
Impact
Poorly named variables in Gov.sol
Proof of Concept
_protocolPremium is a bool while protcolPremium is a mapping to uint. This is confusing a could potentially cause some input errors.
Recommended Mitigation Steps
Rename variables.