소스 검색

no message

BF-202210271038\Administrator 3 년 전
부모
커밋
b0737bf77c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      common/wallet/tokenpocket-wallet/tokenpocket-bnb.js

+ 1 - 0
common/wallet/tokenpocket-wallet/tokenpocket-bnb.js

@@ -21,6 +21,7 @@ tokenpocketBnb.getProvider= function (){
     if(!provider){
         provider = window.ethereum;
     }
+    console.log(provider)
     if(!chainId){
         provider.request({method:'eth_chainId'}).then((ethChainId)=>{
             console.log('ethChainId:'+ethChainId)