Rimmon 3 anos atrás
pai
commit
dd36354708
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      Pages/ModalAssets.razor

+ 2 - 1
Pages/ModalAssets.razor

@@ -105,7 +105,8 @@
     public async Task Balances()
     {
         ethBalance = await _account.GetBalance();
-        tokenBalance = await bcMain.BalanceOf("0xe5D682717955d6C35d465A3485625C64655a04f4", _account.GetActualAddress(bcMain));
+        var bc = await _account.GetSelectedBlockChain();
+        tokenBalance = await bc.BalanceOf("0xe5D682717955d6C35d465A3485625C64655a04f4", _account.GetActualAddress(bc));
     }
 
     public async Task Open(Models.AccountModel account)