stellar/js-stellar-base

View on GitHub
src/signerkey.js

Summary

Maintainability
A
1 hr
Test Coverage

Function decodeAddress has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  static decodeAddress(address) {
    const signerKeyMap = {
      ed25519PublicKey: xdr.SignerKey.signerKeyTypeEd25519,
      preAuthTx: xdr.SignerKey.signerKeyTypePreAuthTx,
      sha256Hash: xdr.SignerKey.signerKeyTypeHashX,
Severity: Minor
Found in src/signerkey.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status