From 509492f050874211e790fc2f815fb0d2e58a212b Mon Sep 17 00:00:00 2001 From: Thibault Martinez Date: Fri, 28 Jul 2023 15:13:03 +0200 Subject: [PATCH 1/2] Update cli/src/command/wallet.rs --- cli/src/command/wallet.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/src/command/wallet.rs b/cli/src/command/wallet.rs index 58b2e2d9ea..2448ac690a 100644 --- a/cli/src/command/wallet.rs +++ b/cli/src/command/wallet.rs @@ -216,6 +216,7 @@ pub async fn new_account_command( pub async fn node_info_command(storage_path: &Path) -> Result { let wallet = unlock_wallet(storage_path, None, None).await?; let node_info = wallet.client().get_info().await?; + println_log_info!("Current node info: {}", serde_json::to_string_pretty(&node_info)?); Ok(wallet) From 330b866de776287a0d1e0c07bcf3d9c4af2fff92 Mon Sep 17 00:00:00 2001 From: Thibault Martinez Date: Fri, 28 Jul 2023 15:13:24 +0200 Subject: [PATCH 2/2] Update cli/src/command/wallet.rs --- cli/src/command/wallet.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/cli/src/command/wallet.rs b/cli/src/command/wallet.rs index 2448ac690a..58b2e2d9ea 100644 --- a/cli/src/command/wallet.rs +++ b/cli/src/command/wallet.rs @@ -216,7 +216,6 @@ pub async fn new_account_command( pub async fn node_info_command(storage_path: &Path) -> Result { let wallet = unlock_wallet(storage_path, None, None).await?; let node_info = wallet.client().get_info().await?; - println_log_info!("Current node info: {}", serde_json::to_string_pretty(&node_info)?); Ok(wallet)