Rimmon 3 vuotta sitten
vanhempi
commit
dd36354708
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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)