Skip to content

Commit

Permalink
box chain account in deliver method
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvja committed Nov 16, 2023
1 parent cff2e30 commit 18adaa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solana/solana-ibc/programs/solana-ibc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ pub struct Deliver<'info> {

/// The guest blockchain data.
#[account(init_if_needed, payer = sender, seeds = [CHAIN_SEED], bump, space = 10000)]
chain: Account<'info, chain::ChainData>,
chain: Box<Account<'info, chain::ChainData>>,

system_program: Program<'info, System>,
}
Expand Down

0 comments on commit 18adaa5

Please sign in to comment.