Skip to content

Commit

Permalink
fix a compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
crispheaney committed Nov 26, 2024
1 parent b28201d commit 35f943d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/drift/src/state/oracle_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl<'a> OracleMap<'a> {
return self.price_data.get(id).safe_unwrap();
}

let (account_info) = match self.oracles.get(&id.0) {
let account_info = match self.oracles.get(&id.0) {
Some(account_info) => account_info,
None => {
msg!("oracle pubkey not found in oracle_map: {}", id.0);
Expand Down

0 comments on commit 35f943d

Please sign in to comment.