Skip to content

Commit

Permalink
EscrowIntent struct new param
Browse files Browse the repository at this point in the history
  • Loading branch information
doradelta committed Dec 13, 2024
1 parent 1fe371b commit 42416df
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
30 changes: 15 additions & 15 deletions user/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions user/src/solana.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ pub async fn escrow_and_store_intent_solana(
.request()
.accounts(bridge_escrow::accounts::EscrowAndStoreIntent {
user: src_user.pubkey(),
user_token_account: user_token_in_addr,
user_token_account: Some(user_token_in_addr),
auctioneer_state,
token_mint: token_in,
escrow_token_account: token_in_escrow_addr,
token_mint: Some(token_in),
escrow_token_account: Some(token_in_escrow_addr),
intent: intent_state,
token_program: anchor_spl::token::ID,
associated_token_program: associated_token::ID,
Expand Down Expand Up @@ -194,10 +194,10 @@ pub async fn escrow_and_store_intent_cross_chain_solana(
.request()
.accounts(bridge_escrow::accounts::EscrowAndStoreIntent {
user: src_user.pubkey(),
user_token_account: user_token_in_addr,
user_token_account: Some(user_token_in_addr),
auctioneer_state,
token_mint: token_in,
escrow_token_account: token_in_escrow_addr,
token_mint: Some(token_in),
escrow_token_account: Some(token_in_escrow_addr),
intent: intent_state,
token_program: anchor_spl::token::ID,
associated_token_program: associated_token::ID,
Expand Down

0 comments on commit 42416df

Please sign in to comment.