Skip to content

Commit

Permalink
remove unnecssary mut
Browse files Browse the repository at this point in the history
  • Loading branch information
NourAlharithi committed Jul 16, 2024
1 parent 7197149 commit 9501bab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/drift/src/instructions/pyth_pull_oracle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ pub fn handle_post_multi_pyth_pull_oracle_updates_atomic<'c: 'info, 'info>(
let feed_id = price_feed_account.price_message.feed_id;

// Verify the pda
let (mut pda, bump) = Pubkey::find_program_address(
let (pda, bump) = Pubkey::find_program_address(
&[PTYH_PRICE_FEED_SEED_PREFIX, feed_id.as_ref()],
&crate::ID,
);
Expand Down

0 comments on commit 9501bab

Please sign in to comment.