Skip to content

Commit fb90b8f

Browse files
committed
chore: make cargo happy
Signed-off-by: Tomás Migone <[email protected]>
1 parent 3eef974 commit fb90b8f

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

src/client_query.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,11 @@ async fn run_indexer_queries(
303303
let start_time = Instant::now();
304304
// URL checked: ref df8e647b-1e6e-422a-8846-dc9ee7e0dcc2
305305
let deployment_url = url.join(&format!("subgraphs/id/{deployment}")).unwrap();
306-
let auth = IndexerAuth::Paid(&receipt, ctx.attestation_domain, ctx.legacy_attestation_domain);
306+
let auth = IndexerAuth::Paid(
307+
&receipt,
308+
ctx.attestation_domain,
309+
ctx.legacy_attestation_domain,
310+
);
307311
let result = indexer_client
308312
.query_indexer(deployment_url, auth, &indexer_query)
309313
.in_current_span()
@@ -695,7 +699,11 @@ pub async fn handle_indexer_query(
695699
.url
696700
.join(&format!("subgraphs/id/{deployment}"))
697701
.unwrap();
698-
let indexer_auth = IndexerAuth::Paid(&receipt, ctx.attestation_domain, ctx.legacy_attestation_domain);
702+
let indexer_auth = IndexerAuth::Paid(
703+
&receipt,
704+
ctx.attestation_domain,
705+
ctx.legacy_attestation_domain,
706+
);
699707

700708
let indexer_start_time = Instant::now();
701709
let result = ctx

src/indexer_client.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ impl IndexerClient {
131131
query,
132132
&original_response,
133133
) {
134-
return Err(BadResponse(format!("bad attestation: {legacy_err} - {err}")));
134+
return Err(BadResponse(format!(
135+
"bad attestation: {legacy_err} - {err}"
136+
)));
135137
}
136138
}
137139
}

0 commit comments

Comments
 (0)