Skip to content

Commit

Permalink
Merge pull request #4 from kilnfi/fix-pre-commit
Browse files Browse the repository at this point in the history
fix: needless borrow
  • Loading branch information
ArchiFleKs authored Sep 10, 2024
2 parents 45ce8f1 + 636ddab commit a3a6e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/common/src/commit/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl SignerClient {
/// requested.
// TODO: add more docs on how proxy keys work
pub async fn get_pubkeys(&self) -> Result<GetPubkeysResponse, SignerClientError> {
let res = self.client.get(&format!("{}{}", self.url, GET_PUBKEYS_PATH)).send().await?;
let res = self.client.get(format!("{}{}", self.url, GET_PUBKEYS_PATH)).send().await?;

if !res.status().is_success() {
return Err(SignerClientError::FailedRequest {
Expand Down

0 comments on commit a3a6e7c

Please sign in to comment.