Skip to content

Commit dcc6f1e

Browse files
HaoranYiHaoranYi
andauthored
fix typos (pyth-network#247)
Co-authored-by: HaoranYi <haoran.yi@solana.com>
1 parent a2579d4 commit dcc6f1e

File tree

1 file changed

+2
-2
lines changed
  • accounts-db/src/tiered_storage

1 file changed

+2
-2
lines changed

accounts-db/src/tiered_storage/hot.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const MAX_HOT_OWNER_OFFSET: OwnerOffset = OwnerOffset((1 << 29) - 1);
5858
/// bytes in HotAccountOffset.
5959
pub(crate) const HOT_ACCOUNT_ALIGNMENT: usize = 8;
6060

61-
/// The alignemnt for the blocks inside a hot accounts file. A hot accounts
61+
/// The alignment for the blocks inside a hot accounts file. A hot accounts
6262
/// file consists of accounts block, index block, owners block, and footer.
6363
/// This requirement allows the offset of each block properly aligned so
6464
/// that they can be readable under mmap.
@@ -190,7 +190,7 @@ impl TieredAccountMeta for HotAccountMeta {
190190
/// A builder function that initializes the account data size.
191191
fn with_account_data_size(self, _account_data_size: u64) -> Self {
192192
// Hot meta does not store its data size as it derives its data length
193-
// by comparing the offets of two consecutive account meta entries.
193+
// by comparing the offsets of two consecutive account meta entries.
194194
self
195195
}
196196

0 commit comments

Comments
 (0)