status-im/status-go

View on GitHub
rpc/network/network.go

Summary

Maintainability
A
40 mins
Test Coverage
C
75%

Consider simplifying this complex logical expression.
Open

            if (n.Test != nil && (network.ChainID == n.Test.RelatedChainID || n.Test.ChainID == network.RelatedChainID)) || (n.Prod != nil && (network.ChainID == n.Prod.RelatedChainID || n.Prod.ChainID == network.RelatedChainID)) {
Severity: Major
Found in rpc/network/network.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status