Skip to content

Commit

Permalink
Remove unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
isra67 committed Oct 25, 2021
1 parent 44c92f1 commit 95e95c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
17 changes: 0 additions & 17 deletions packages/tatum-xdc/src/helpers/index.ts

This file was deleted.

8 changes: 4 additions & 4 deletions packages/tatum-xdc/src/nft/nft.ts
Expand Up @@ -79,9 +79,9 @@ export const createNFT = async (testnet: boolean, body: MintErc721,
export const mintXdcNFTWithUri = async (testnet: boolean, body: MintErc721, provider?: string): Promise<TransactionHash> => {
if ((body as MintErc721).authorAddresses) {
return sendXdcMintErcCashback721Transaction(body as MintErc721, provider);
} else {
return sendXdcMintErc721Transaction(body as MintErc721, provider);
}
} else {
return sendXdcMintErc721Transaction(body as MintErc721, provider);
}
};

/**
Expand All @@ -94,7 +94,7 @@ export const mintMultipleNFTWithUri = async (testnet: boolean, body: MintMultipl
if ((body as MintMultipleErc721).authorAddresses) {
return sendXdcMintMultipleCashbackErc721Transaction(body as MintMultipleErc721, provider);
} else {
return sendXdcMintMultipleErc721Transaction(body as MintMultipleErc721, provider);
return sendXdcMintMultipleErc721Transaction(body as MintMultipleErc721, provider);
}
};

Expand Down

0 comments on commit 95e95c7

Please sign in to comment.