Omniscia Tangible Audit
SellFeeDistributorV2 Code Style Findings
SellFeeDistributorV2 Code Style Findings
SFD-01C: Redundant Parenthesis Statements
Type | Severity | Location |
---|---|---|
Code Style | SellFeeDistributorV2.sol:L87 |
Description:
The referenced statements are redundantly wrapped in parenthesis' (()
).
Example:
contracts/SellFeeDistributorV2.sol
87require((_revenueShare != address(0)) && (_revenueShare != revenueShare), "Wrong revenue");
Recommendation:
We advise them to be safely omitted, increasing the legibility of the codebase.
Alleviation (2ad448279d9e8e4b6edd94bcd2eb22129b6f7357):
The redundant parenthesis in the referenced statements have been safely omitted.