From 6fb15fff8bafc6759541756c58ac6fc0eecebbac Mon Sep 17 00:00:00 2001 From: Drazen Urch Date: Wed, 1 Sep 2021 16:33:29 +0200 Subject: [PATCH] printable_balance --- tauri-wallet/src-tauri/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tauri-wallet/src-tauri/src/main.rs b/tauri-wallet/src-tauri/src/main.rs index 99d45ffcf2..13a1dc5abe 100644 --- a/tauri-wallet/src-tauri/src/main.rs +++ b/tauri-wallet/src-tauri/src/main.rs @@ -149,7 +149,7 @@ async fn get_balance( let mut balance = HashMap::new(); balance.insert("amount", coin.amount.to_string()); balance.insert("denom", coin.denom.to_string()); - balance.insert("printableBalance", printable_coin(Some(coin))?); + balance.insert("printable_balance", printable_coin(Some(coin))?); Ok(balance) } Ok(None) => Err(format!(