From 4de24123de0196a729e2a7609836a705820d948b Mon Sep 17 00:00:00 2001 From: zhl Date: Thu, 20 Apr 2023 10:52:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=A3=80=E6=9F=A5=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E6=9D=83=E9=99=90=E5=92=8C=E6=A3=80=E6=9F=A5=E9=93=BE?= =?UTF-8?q?id=E7=9A=84=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/scripts/confirm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/scripts/confirm.js b/assets/scripts/confirm.js index cd3dbbf..349271d 100644 --- a/assets/scripts/confirm.js +++ b/assets/scripts/confirm.js @@ -151,9 +151,9 @@ createApp({ ); this.chainId = await this.web3.eth.getChainId(); console.log("current chain id: " + this.chainId); + await this.checkChain(); this.hasRole = await this.checkRole(); console.log("current has operation role: " + hasRole); - await this.checkChain(); this.subscribeToEvents(); this.walletConnect = true; console.log(this.chainId, this.account);