Skip to content

Commit

Permalink
ignore gen log
Browse files Browse the repository at this point in the history
  • Loading branch information
TheChronicMonster committed Oct 24, 2022
1 parent 2b2f0d6 commit 2954e42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/build
/scribble.log
/convert.log
/dev.log
/gen.log
/md
/secret.env
6 changes: 3 additions & 3 deletions examples/simple-nft-minter/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const logBalance = async (acc, tok) => {
return bal;
}

await logBalance(minter, null);
await logBalance(minter);

const name = (stdlib.connector == 'ALGO') ? "JPAlgos" : "JPals";
const symbol = (stdlib.connector == 'ALGO') ? "JPA" : "JPAL";
Expand All @@ -46,7 +46,7 @@ const opts = {
note: Uint8Array[1],
};

const mintNFT = async (minter, name, symbol, opts = {supply, url, c, f, defaultFrozen, reserve, note}) => {
const mintNFT = async (minter, name, symbol, opts) => {
console.log(`Creating the NFT`);
const theNFT = await stdlib.launchToken(minter, name, symbol, opts);
console.log(theNFT);
Expand All @@ -69,4 +69,4 @@ const transferNFT = async (minter, receiver, nftId, supply) => {

const nftId = await mintNFT(minter, name, symbol, opts);
await transferNFT(minter, receiver, nftId, opts.supply);
await logBalance(minter, null);
await logBalance(minter);

0 comments on commit 2954e42

Please sign in to comment.