Skip to content

Commit

Permalink
fix: list-connections (#4841)
Browse files Browse the repository at this point in the history
Description
---
List-connections command prints wallets only if there are base node connections.

How Has This Been Tested?
---
Manually.
  • Loading branch information
Cifko authored Oct 21, 2022
1 parent b303ec5 commit 23b2c9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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!();
Expand Down

0 comments on commit 23b2c9a

Please sign in to comment.