Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
mschneider committed Nov 6, 2024
1 parent 1f5c209 commit 719abe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions programs/autobahn-executor/src/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub fn intialize<'a>(
account: &AccountInfo<'a>,
seeds: &[&[u8]],
) -> Result<(), ProgramError> {
let space = match *account.owner {
let space = match *token_program.key {
spl_token::ID => Ok(spl_token::state::Account::LEN),
spl_token_2022::ID => {
let mint_data = mint.data.borrow();
Expand All @@ -82,7 +82,7 @@ pub fn intialize<'a>(
payer,
&Rent::get()?,
space,
account.owner,
token_program.key,
system_program,
account,
seeds,
Expand Down

0 comments on commit 719abe5

Please sign in to comment.