Omniscia Myso Finance Audit
ChainlinkBasic Code Style Findings
ChainlinkBasic Code Style Findings
CBC-01C: Redundant Parenthesis Statement
Type | Severity | Location |
---|---|---|
Code Style | ChainlinkBasic.sol:L38 |
Description:
The referenced statement is redundantly wrapped in parenthesis (()
).
Example:
contracts/peer-to-peer/oracles/chainlink/ChainlinkBasic.sol
38if ((10 ** oracleDecimals != baseCurrencyUnit)) {
Recommendation:
We advise them to be safely omitted, increasing the legibility of the codebase.
Alleviation (c740f7c6b5ebd365618fd2d7ea77370599e1ca11):
The redundant parenthesis statement has been omitted as advised.