DeFiCh/wallet

View on GitHub
mobile-app/app/screens/TransactionAuthorization/api/transaction_signer.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function signTransaction has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

  tx: DfTxSigner,
  account: WhaleWalletAccount,
  onAutoRetry: (attempts: number) => Promise<void>,
  retries: number = 0,
  logger: NativeLoggingProps

    Function authenticateFor has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      promptPassphrase: () => Promise<string>,
      authentication: Authentication<T>,
      onAutoRetry: (attempts: number) => Promise<void>,
      retries: number = 0,
      logger: NativeLoggingProps

      There are no issues that match your filters.

      Category
      Status