parent
c3da8a852f
commit
60426aae74
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ const CryptoSection = (props: CryptoSectionProps) => {
|
||||||
const verifyWallet = useCallback(async () => {
|
const verifyWallet = useCallback(async () => {
|
||||||
try {
|
try {
|
||||||
if (!window.web3) {
|
if (!window.web3) {
|
||||||
throw new Error("Metamask is not installed");
|
throw new Error("MetaMask Chrome extension is not installed");
|
||||||
}
|
}
|
||||||
|
|
||||||
const contract = new window.web3.eth.Contract(genericAbi as AbiItem[], props.smartContractAddress);
|
const contract = new window.web3.eth.Contract(genericAbi as AbiItem[], props.smartContractAddress);
|
||||||
|
|
Loading…
Reference in a new issue