From 7569f8eded036e46a22483ef9719578a56d299b4 Mon Sep 17 00:00:00 2001 From: apfitzge Date: Thu, 18 Aug 2022 10:00:04 -0500 Subject: [PATCH] store-tool: log lamports for each account (#27168) log lamports for each account --- runtime/store-tool/src/main.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/runtime/store-tool/src/main.rs b/runtime/store-tool/src/main.rs index edfc00d8ee1323..8f7d2f2a402a05 100644 --- a/runtime/store-tool/src/main.rs +++ b/runtime/store-tool/src/main.rs @@ -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);