Removes write version from store-tool (#722)

This commit is contained in:
Brooks 2024-04-11 10:09:36 -04:00 committed by GitHub
parent 9706a64646
commit 2871c59863
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -50,9 +50,8 @@ fn main() {
break;
}
info!(
" account: {:?} version: {} lamports: {} data: {} hash: {:?}",
" account: {:?} lamports: {} data: {} hash: {:?}",
account.pubkey(),
account.write_version(),
account.lamports(),
account.data_len(),
account.hash()
@ -69,7 +68,6 @@ fn main() {
fn is_account_zeroed(account: &StoredAccountMeta) -> bool {
account.hash() == &AccountHash(Hash::default())
&& account.data_len() == 0
&& account.write_version() == 0
&& account.pubkey() == &Pubkey::default()
&& account.to_account_shared_data() == AccountSharedData::default()
}