From dfb11534db39d2e074c4b9d594e9dddd509e8df5 Mon Sep 17 00:00:00 2001 From: SaketAnand Date: Thu, 3 Oct 2024 14:12:53 +0530 Subject: [PATCH] Update index.html --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index f044369..8d45cfc 100644 --- a/index.html +++ b/index.html @@ -772,7 +772,7 @@
Recovered Binance Address
// setMetaMaskStatus(window.ethereum.isConnected()) window.ethereum.on("chainChanged", (chainId) => { window.currentChainId = chainId; - if (chainId !== "0x1") { + if (chainId !== "0x38") { renderError("Please switch MetaMask to Binance Mainnet"); } else { router.routeTo(location.hash); @@ -930,7 +930,7 @@

Check Binance, USDC and USDT balance

); if ( window.ethereum && - !(window.currentChainId && window.currentChainId === "0x1") + !(window.currentChainId && window.currentChainId === "0x38") ) { renderError("Please switch MetaMask to Binance Mainnet"); } @@ -1478,7 +1478,7 @@

Receiver

); if ( window.ethereum && - !(window.currentChainId && window.currentChainId === "0x1") + !(window.currentChainId && window.currentChainId === "0x38") ) { renderError("Please switch MetaMask to Binance Mainnet"); }