kodadot/nft-gallery

View on GitHub
composables/transaction/transactionBurn.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

function execBurnAssetHub(item: ActionConsume, api: ApiPromise, executeTransaction: ExecuteTransaction) {
  const getApiCallParams = (nftId: string) => {
    const legacy = isLegacy(nftId)
    const paramResolver = assetHubParamResolver(legacy)

Severity: Minor
Found in composables/transaction/transactionBurn.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status