trufflesuite/truffle

View on GitHub
packages/hdwallet/src/index.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function deriveChild has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function deriveChild(
  index: number,
  isHardened: boolean,
  privateKey: Buffer,
  publicKey: Uint8Array,
Severity: Minor
Found in packages/hdwallet/src/index.ts - About 1 hr to fix

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

      index: number,
      isHardened: boolean,
      privateKey: Buffer,
      publicKey: Uint8Array,
      chainCode: Uint8Array
    Severity: Minor
    Found in packages/hdwallet/src/index.ts - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status