From 63bb35e1a145e41aec580489d6d17bd7aabc6758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogdan-=C8=98tefan=20Neac=C5=9Fu?= Date: Thu, 16 Dec 2021 17:36:50 +0200 Subject: [PATCH] Use the renamed balance function (#971) --- nym-wallet/src-tauri/src/operations/mixnet/account.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nym-wallet/src-tauri/src/operations/mixnet/account.rs b/nym-wallet/src-tauri/src/operations/mixnet/account.rs index 3e1f019c54..5824b355a7 100644 --- a/nym-wallet/src-tauri/src/operations/mixnet/account.rs +++ b/nym-wallet/src-tauri/src/operations/mixnet/account.rs @@ -58,7 +58,10 @@ pub async fn connect_with_mnemonic( pub async fn get_balance( state: tauri::State<'_, Arc>>, ) -> Result { - match client!(state).get_balance(client!(state).address()).await { + match client!(state) + .get_mixnet_balance(client!(state).address()) + .await + { Ok(Some(coin)) => { let coin = Coin::new( &coin.amount.to_string(),