Skip to content

Commit 750384f

Browse files
committed
fixup! Get header
1 parent 427c2c1 commit 750384f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

program/rust/src/c_oracle_header.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ pub trait PythAccount: Pod {
2222
const ACCOUNT_TYPE: u32;
2323
/// `INITIAL_SIZE` is the value that the field `size_` will take when the account is first
2424
/// initialized this one is slightly tricky because for mapping (resp. price) `size_` won't
25-
/// include the unpopulated entries of `prod_` (resp. `comp_`). At the beginning there
26-
/// are 0 products (resp. 0 components) therefore `INITIAL_SIZE` will be equal to the offset
27-
/// of `prod_` (resp. `comp_`) Similarly the product account `INITIAL_SIZE` won't
28-
/// include any key values.
25+
/// include the unpopulated entries of `prod_` (resp. `comp_`). At the beginning there are 0
26+
/// products (resp. 0 components) therefore `INITIAL_SIZE` will be equal to the offset of
27+
/// `prod_` (resp. `comp_`) Similarly the product account `INITIAL_SIZE` won't include any
28+
/// key values.
2929
const INITIAL_SIZE: u32;
3030
/// `minimum_size()` is the minimum size that the solana account holding the struct needs to
3131
/// have. `INITIAL_SIZE` <= `minimum_size()`

0 commit comments

Comments
 (0)