Skip to content

Commit

Permalink
Update cli/src/command/wallet.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez authored Jul 28, 2023
1 parent 4255c85 commit 509492f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/src/command/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ pub async fn new_account_command(
pub async fn node_info_command(storage_path: &Path) -> Result<Wallet, Error> {
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)
Expand Down

0 comments on commit 509492f

Please sign in to comment.