status-im/status-go

View on GitHub
protocol/communities/community_token_permission.go

Summary

Maintainability
A
40 mins
Test Coverage
D
65%

Consider simplifying this complex logical expression.
Open

    if p.Id != other.Id ||
        p.Type != other.Type ||
        len(p.TokenCriteria) != len(other.TokenCriteria) ||
        len(p.ChatIds) != len(other.ChatIds) ||
        p.IsPrivate != other.IsPrivate ||
Severity: Major
Found in protocol/communities/community_token_permission.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status