Omniscia AllianceBlock Audit
LibGovernance Code Style Findings
LibGovernance Code Style Findings
LGE-01C: Redundant Library Usage Statement
Type | Severity | Location |
---|---|---|
Code Style | ![]() | LibGovernance.sol:L10 |
Description:
The using Counters for Counters.Counter
statement in the LibGovernance
library is redundant as the exposed functions are never utilized within it.
Example:
contracts/libraries/LibGovernance.sol
10using Counters for Counters.Counter;
Recommendation:
We advise it to be safely omitted, optimizing the syntax of the code.
Alleviation (54fd570de24631ca65a7cea022aebe43225a08c7):
The redundant library
usage statement has been safely omitted as advised.