Skip to content

Commit

Permalink
fix table columns (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
igamigo authored Mar 15, 2024
1 parent a15be6a commit d372659
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ pub fn show_account<N: NodeRpcClient, S: Store>(
show_code: bool,
) -> Result<(), String> {
let (account, _account_seed) = client.get_account(account_id)?;

let mut table = create_dynamic_table(&[
"Account ID",
"Account Hash",
Expand All @@ -191,7 +190,8 @@ pub fn show_account<N: NodeRpcClient, S: Store>(
account_type_display_name(&account.account_type()),
account.code().root().to_string(),
account.vault().asset_tree().root().to_string(),
account.nonce().to_string(),
account.storage().root().to_string(),
account.nonce().as_int().to_string(),
]);
println!("{table}\n");

Expand Down

0 comments on commit d372659

Please sign in to comment.