From 9aa20ad26623aa0d16bde2f759cbb1f2291db237 Mon Sep 17 00:00:00 2001 From: Tiago Carvalho Date: Fri, 3 May 2024 10:29:27 +0100 Subject: [PATCH] Standardize no balance response --- crates/apps/src/lib/client/rpc.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/apps/src/lib/client/rpc.rs b/crates/apps/src/lib/client/rpc.rs index fbf7e78c88..71ad6bb51e 100644 --- a/crates/apps/src/lib/client/rpc.rs +++ b/crates/apps/src/lib/client/rpc.rs @@ -382,11 +382,7 @@ async fn query_shielded_balance( let mut shielded = context.shielded_mut().await; let no_balance = || { - display_line!( - context.io(), - "No shielded {} balance found for given key", - token_alias - ); + display_line!(context.io(), "{token_alias}: 0"); }; let balance = if no_conversions {