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);