Skip to content

Commit

Permalink
Bump compute units during exchange deposit to account for possible to…
Browse files Browse the repository at this point in the history
…ken creation instruction
  • Loading branch information
mvines committed May 6, 2024
1 parent 750839f commit 4113057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ async fn process_exchange_deposit<T: Signers>(
(instructions, amount)
}
};
apply_priority_fee(rpc_client, &mut instructions, 10_000, priority_fee)?;
apply_priority_fee(rpc_client, &mut instructions, 20_000, priority_fee)?;

if amount == 0 {
return Err("Nothing to deposit".into());
Expand Down

0 comments on commit 4113057

Please sign in to comment.