status-im/status-go

View on GitHub
services/wallet/router/router.go

Summary

Maintainability
A
1 hr
Test Coverage
F
8%

Method Router.SuggestedRoutes has 11 arguments (exceeds 6 allowed). Consider refactoring.
Open

    ctx context.Context,
    sendType SendType,
    addrFrom common.Address,
    addrTo common.Address,
    amountIn *big.Int,
Severity: Major
Found in services/wallet/router/router.go - About 1 hr to fix

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

    func NewRouter(rpcClient *rpc.Client, transactor *transactions.Transactor, tokenManager *token.Manager, marketManager *market.Manager,
        collectibles *collectibles.Service, collectiblesManager *collectibles.Manager, ensService *ens.Service, stickersService *stickers.Service) *Router {
    Severity: Major
    Found in services/wallet/router/router.go - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status