Skip to content

Commit

Permalink
remove duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
soundsonacid committed Mar 22, 2024
1 parent 3dd2d12 commit 058cd51
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/oraclemap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ impl OracleMap {
all_oracles.extend(perp_oracles.clone());
all_oracles.extend(spot_oracles.clone());

let mut all_oracles = vec![];
all_oracles.extend(perp_oracles.iter().cloned());
all_oracles.extend(spot_oracles.iter().cloned());

let oracle_infos_map: DashMap<_, _> = all_oracles
.iter()
.map(|(_, pubkey, oracle_source)| (*pubkey, *oracle_source))
Expand Down

0 comments on commit 058cd51

Please sign in to comment.