status-im/status-go

View on GitHub
services/wallet/transfer/transaction_manager.go

Summary

Maintainability
A
1 hr
Test Coverage
D
69%

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

func NewMultiTransaction(timestamp uint64, fromNetworkID, toNetworkID uint64, fromTxHash, toTxHash common.Hash, fromAddress, toAddress common.Address, fromAsset, toAsset string, fromAmount, toAmount *hexutil.Big, txType MultiTransactionType, crossTxID string) *MultiTransaction {
Severity: Major
Found in services/wallet/transfer/transaction_manager.go - About 45 mins to fix

    Function NewTransactionManager has 7 arguments (exceeds 6 allowed). Consider refactoring.
    Open

        storage MultiTransactionStorage,
        gethManager *account.GethManager,
        transactor transactions.TransactorIface,
        config *params.NodeConfig,
        accountsDB accounts.AccountsStorage,
    Severity: Major
    Found in services/wallet/transfer/transaction_manager.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status