From 467fbe46086061c7ef1909f8108ab20e1d751adc Mon Sep 17 00:00:00 2001 From: 0xMoed <72482815+0xMoed@users.noreply.github.com> Date: Sat, 13 Nov 2021 17:07:47 -0500 Subject: [PATCH] Update App.js blockchain.smartContract.methods.mint(mintAmount) was missing the parameter telling the app which address to mint to --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index f2d22e687..62a26e2cc 100644 --- a/src/App.js +++ b/src/App.js @@ -130,7 +130,7 @@ function App() { setFeedback(`Minting your ${CONFIG.NFT_NAME}...`); setClaimingNft(true); blockchain.smartContract.methods - .mint(mintAmount) + .mint(blockchain.account, mintAmount) .send({ gasLimit: String(totalGasLimit), to: CONFIG.CONTRACT_ADDRESS,