From d3726590c43526640492ea15dee3b7e22bd1d862 Mon Sep 17 00:00:00 2001 From: igamigo Date: Fri, 15 Mar 2024 17:32:43 -0300 Subject: [PATCH] fix table columns (#229) --- src/cli/account.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/account.rs b/src/cli/account.rs index 519bf9567..932549dd0 100644 --- a/src/cli/account.rs +++ b/src/cli/account.rs @@ -175,7 +175,6 @@ pub fn show_account( show_code: bool, ) -> Result<(), String> { let (account, _account_seed) = client.get_account(account_id)?; - let mut table = create_dynamic_table(&[ "Account ID", "Account Hash", @@ -191,7 +190,8 @@ pub fn show_account( 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");