From 23b2c9a529f6ce7523de23dd46c5a1ff911abec8 Mon Sep 17 00:00:00 2001 From: Martin Stefcek <35243812+Cifko@users.noreply.github.com> Date: Fri, 21 Oct 2022 13:37:49 +0200 Subject: [PATCH] fix: list-connections (#4841) Description --- List-connections command prints wallets only if there are base node connections. How Has This Been Tested? --- Manually. --- .../tari_base_node/src/commands/command/list_connections.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/tari_base_node/src/commands/command/list_connections.rs b/applications/tari_base_node/src/commands/command/list_connections.rs index 8771123457..61b162a13c 100644 --- a/applications/tari_base_node/src/commands/command/list_connections.rs +++ b/applications/tari_base_node/src/commands/command/list_connections.rs @@ -124,7 +124,7 @@ impl CommandContext { println!(); println!("Wallets"); println!("-------"); - if nodes.is_empty() { + if clients.is_empty() { println!("No active wallet connections."); } else { println!();