File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ solana_pubkey::declare_id!("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA");
19
19
close_authority: COption<Pubkey>,
20
20
}
21
21
*/
22
- const SPL_TOKEN_ACCOUNT_MINT_OFFSET : usize = 0 ;
23
- const SPL_TOKEN_ACCOUNT_OWNER_OFFSET : usize = 32 ;
22
+ pub const SPL_TOKEN_ACCOUNT_MINT_OFFSET : usize = 0 ;
23
+ pub const SPL_TOKEN_ACCOUNT_OWNER_OFFSET : usize = 32 ;
24
24
const SPL_TOKEN_ACCOUNT_AMOUNT_OFFSET : usize = 64 ;
25
25
const SPL_TOKEN_ACCOUNT_STATE_OFFSET : usize = 108 ;
26
26
pub ( crate ) const SPL_TOKEN_ACCOUNT_LENGTH : usize = 165 ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use crate::token::{
8
8
solana_pubkey:: declare_id!( "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb" ) ;
9
9
10
10
// `spl_token_program_2022::extension::AccountType::Account` ordinal value
11
- const ACCOUNTTYPE_ACCOUNT : u8 = 2 ;
11
+ pub const ACCOUNTTYPE_ACCOUNT : u8 = 2 ;
12
12
13
13
// Token2022 enforces that TLV data cannot make a Mint or Account that is precisely
14
14
// the length of a Multisig, to allow them to be distinguished.
You can’t perform that action at this time.
0 commit comments