Skip to content

Commit 0cfc9a3

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

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/indexer_client.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ impl IndexerClient {
123123
&allocation,
124124
query,
125125
&original_response,
126-
) {
127-
if let Err(err) = attestation::verify(
126+
)
127+
&& let Err(err) = attestation::verify(
128128
attestation_domain,
129129
attestation,
130130
&allocation,
@@ -135,7 +135,6 @@ impl IndexerClient {
135135
"bad attestation: {legacy_err} - {err}"
136136
)));
137137
}
138-
}
139138
}
140139
None => {
141140
let message = if !errors.is_empty() {

0 commit comments

Comments
 (0)