From d58db6e2559783ee51c10857d703909b600bee61 Mon Sep 17 00:00:00 2001 From: Yueh-Hsuan Chiang <93241502+yhchiang-sol@users.noreply.github.com> Date: Wed, 15 Nov 2023 11:25:18 -0800 Subject: [PATCH] Improve formatting in test_hot_storage_get_account_offset_and_address() (#34071) #### Problem #34032 mentioned nice-to-have a formatting improvement that can improve the readability. #### Summary of Changes Improve the code formatting in test_hot_storage_get_account_offset_and_address(). --- accounts-db/src/tiered_storage/hot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts-db/src/tiered_storage/hot.rs b/accounts-db/src/tiered_storage/hot.rs index 4812acde1..7e58726ac 100644 --- a/accounts-db/src/tiered_storage/hot.rs +++ b/accounts-db/src/tiered_storage/hot.rs @@ -526,8 +526,8 @@ pub mod tests { for (i, index_writer_entry) in index_writer_entries.iter().enumerate() { let account_offset = hot_storage.get_account_offset(IndexOffset(i)).unwrap(); assert_eq!(account_offset.block as u64, index_writer_entry.block_offset); - let account_address = hot_storage.get_account_address(IndexOffset(i)).unwrap(); + let account_address = hot_storage.get_account_address(IndexOffset(i)).unwrap(); assert_eq!(account_address, index_writer_entry.address); } }