Skip to content

Commit

Permalink
store-tool: log lamports for each account (#27168)
Browse files Browse the repository at this point in the history
log lamports for each account
  • Loading branch information
apfitzge authored Aug 18, 2022
1 parent d2868f4 commit 7569f8e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions runtime/store-tool/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7569f8e

Please sign in to comment.