status-im/status-go

View on GitHub
services/wallet/collectibles/service.go

Summary

Maintainability
A
2 hrs
Test Coverage
F
20%

Function NewService has 8 arguments (exceeds 6 allowed). Consider refactoring.
Open

    db *sql.DB,
    walletFeed *event.Feed,
    accountsDB *accounts.Database,
    accountsFeed *event.Feed,
    settingsFeed *event.Feed,
Severity: Major
Found in services/wallet/collectibles/service.go - About 45 mins to fix

    Method Service.GetOwnedCollectiblesAsync has 8 arguments (exceeds 6 allowed). Consider refactoring.
    Open

        requestID int32,
        chainIDs []walletCommon.ChainID,
        addresses []common.Address,
        filter Filter,
        offset int,
    Severity: Major
    Found in services/wallet/collectibles/service.go - About 45 mins to fix

      Method Service.GetOwnedCollectibles has 8 arguments (exceeds 6 allowed). Consider refactoring.
      Open

          ctx context.Context,
          chainIDs []walletCommon.ChainID,
          addresses []common.Address,
          filter Filter,
          offset int,
      Severity: Major
      Found in services/wallet/collectibles/service.go - About 45 mins to fix

        There are no issues that match your filters.

        Category
        Status