From 598502b27f2580390424e26979072b7b836e36a0 Mon Sep 17 00:00:00 2001 From: duyhla <109505975+duyhla@users.noreply.github.com> Date: Tue, 12 Mar 2024 13:35:22 +0700 Subject: [PATCH 1/2] Improve query balance --- crates/apps/src/lib/client/rpc.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/apps/src/lib/client/rpc.rs b/crates/apps/src/lib/client/rpc.rs index 52f2c56ba4..ecc421e9c8 100644 --- a/crates/apps/src/lib/client/rpc.rs +++ b/crates/apps/src/lib/client/rpc.rs @@ -367,8 +367,6 @@ pub async fn query_balance(context: &impl Namada, args: args::QueryBalance) { query_pinned_balance(context, args.clone()).await; // Print shielded balance query_shielded_balance(context, args.clone()).await; - // Then print transparent balance - query_transparent_balance(context, args).await; } }; } From a9a2871e9d94bb4426db6a6032f24c350516aa3c Mon Sep 17 00:00:00 2001 From: duyhla <109505975+duyhla@users.noreply.github.com> Date: Tue, 12 Mar 2024 13:45:01 +0700 Subject: [PATCH 2/2] improve query balance --- crates/apps/src/lib/client/rpc.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/apps/src/lib/client/rpc.rs b/crates/apps/src/lib/client/rpc.rs index ecc421e9c8..66479f3c6a 100644 --- a/crates/apps/src/lib/client/rpc.rs +++ b/crates/apps/src/lib/client/rpc.rs @@ -365,8 +365,6 @@ pub async fn query_balance(context: &impl Namada, args: args::QueryBalance) { None => { // Print pinned balance query_pinned_balance(context, args.clone()).await; - // Print shielded balance - query_shielded_balance(context, args.clone()).await; } }; }