Skip to content

Commit

Permalink
Pass In Without Ref
Browse files Browse the repository at this point in the history
  • Loading branch information
0xIchigo committed Jun 18, 2024
1 parent 4cd7bfa commit e93ff01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jito.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ impl Helius {
params: vec![serialized_transactions],
};

let parsed_url: Url = Url::parse(&jito_api_url).expect("Failed to parse URL");
let parsed_url: Url = Url::parse(jito_api_url).expect("Failed to parse URL");

let response: Value = self
.rpc_client
Expand Down Expand Up @@ -182,7 +182,7 @@ impl Helius {
params: vec![bundle_ids],
};

let parsed_url: Url = Url::parse(&jito_api_url).expect("Failed to parse URL");
let parsed_url: Url = Url::parse(jito_api_url).expect("Failed to parse URL");

let response: Value = self
.rpc_client
Expand Down

0 comments on commit e93ff01

Please sign in to comment.