fix bad ref

enumerate
lza_menace 2 years ago
parent 6a8671d9b5
commit 5ebd3313e8

@ -97,8 +97,9 @@
// Check ownership of tokens // Check ownership of tokens
if (selectedStandard == 1) { if (selectedStandard == 1) {
let owner;
try { try {
let owner = await $contracts.nft.methods.ownerOf(tokenId).call(); owner = await $contracts.nft.methods.ownerOf(tokenId).call();
} catch(e) { } catch(e) {
errorMessage = `Something went wrong; make sure you're using the right token standard for the contract: ${e.message}`; errorMessage = `Something went wrong; make sure you're using the right token standard for the contract: ${e.message}`;
checksPending = false; checksPending = false;

Loading…
Cancel
Save