printable balance should be major

This commit is contained in:
Drazen Urch
2021-09-03 15:29:20 +02:00
parent e1bea43ff4
commit 2997337948
+1 -1
View File
@@ -226,7 +226,7 @@ async fn get_balance(state: tauri::State<'_, Arc<RwLock<State>>>) -> Result<Bala
};
Ok(Balance {
coin: coin.clone(),
printable_balance: coin.to_string(),
printable_balance: coin.to_major().to_string(),
})
}
Ok(None) => Err(format!(