Fix/web3 hotfixes (#1679)

* wip

* wip
This commit is contained in:
Peer Richelsen 2022-02-01 22:06:43 +00:00 committed by GitHub
parent c3da8a852f
commit 60426aae74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +53,7 @@ const CryptoSection = (props: CryptoSectionProps) => {
const verifyWallet = useCallback(async () => {
try {
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);