Skip to content

Commit

Permalink
fix mint task
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Dec 19, 2024
1 parent 9d9834e commit f62a780
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions contracts/nft/tasks/mint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ const main = async (args: any, hre: HardhatRuntimeEnvironment) => {
mintTransactionHash: tx.hash,
recipient: recipient,
tokenURI: args.tokenUri,
tokenId: tokenId,
tokenId: tokenId.toString(),
})
);
} else {
console.log(`πŸš€ Successfully minted NFT.
πŸ“œ Contract address: ${args.contract}
πŸ‘€ Recipient: ${recipient}
πŸ†” Token ID: ${tokenId}
πŸ†” Token ID: ${tokenId.toString()}
πŸ”— Transaction hash: ${tx.hash}`);
}
};
Expand Down
4 changes: 2 additions & 2 deletions contracts/token/tasks/mint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ const main = async (args: any, hre: HardhatRuntimeEnvironment) => {
mintTransactionHash: tx.hash,
recipient: recipient,
tokenURI: args.tokenUri,
tokenId: tokenId,
tokenId: tokenId.toString(),
})
);
} else {
console.log(`πŸš€ Successfully minted NFT.
πŸ“œ Contract address: ${args.contract}
πŸ‘€ Recipient: ${recipient}
πŸ†” Token ID: ${tokenId}
πŸ†” Token ID: ${tokenId.toString()}
πŸ”— Transaction hash: ${tx.hash}`);
}
};
Expand Down

0 comments on commit f62a780

Please sign in to comment.