stellar/js-stellar-base

View on GitHub
src/operations/invoke_host_function.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createCustomContract has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function createCustomContract(opts) {
  const salt = Buffer.from(opts.salt || getSalty());

  if (!opts.wasmHash || opts.wasmHash.length !== 32) {
    throw new TypeError(
Severity: Minor
Found in src/operations/invoke_host_function.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status