store-tool: log lamports for each account (#27168)

log lamports for each account
This commit is contained in:
apfitzge 2022-08-18 10:00:04 -05:00 committed by GitHub
parent d2868f439d
commit 7569f8eded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -40,8 +40,12 @@ fn main() {
break;
}
info!(
" account: {:?} version: {} data: {} hash: {:?}",
account.meta.pubkey, account.meta.write_version, account.meta.data_len, account.hash
" account: {:?} version: {} lamports: {} data: {} hash: {:?}",
account.meta.pubkey,
account.meta.write_version,
account.account_meta.lamports,
account.meta.data_len,
account.hash
);
num_accounts = num_accounts.saturating_add(1);
stored_accounts_len = stored_accounts_len.saturating_add(account.stored_size);