Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
doradelta committed Nov 14, 2024
1 parent 0f7eec3 commit 15d7617
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions solana/bridge-escrow/programs/bridge-escrow/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -849,9 +849,11 @@ pub struct OnTimeout<'info> {
#[account(mut)]
/// CHECK:
pub auctioneer: UncheckedAccount<'info>,
#[account(mut, close = user, seeds = [INTENT_SEED, intent_id.as_bytes()], bump)]
#[account(mut, close = intent_owner, seeds = [INTENT_SEED, intent_id.as_bytes()], bump)]
pub intent: Option<Box<Account<'info, Intent>>>,

#[account(mut, address = intent.clone().unwrap().user_in)]
/// CHECK:
pub intent_owner: UncheckedAccount<'info>,
// Single domain transfer accounts
pub token_in: Option<Account<'info, Mint>>,
#[account(mut, token::mint = token_in)]
Expand Down

0 comments on commit 15d7617

Please sign in to comment.