mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-29 10:43:42 +00:00
Fix Clippy for Rust 1.90 beta (#7826)
Fix Clippy for recently released Rust 1.90 beta. There may be more changes required when Rust 1.89 stable is released in a few days, but possibly not 🤞
This commit is contained in:
@@ -63,6 +63,6 @@ pub fn get_aggregate_attestation<T: BeaconChainTypes>(
|
||||
} else if endpoint_version == V1 {
|
||||
Ok(warp::reply::json(&GenericResponse::from(aggregate_attestation)).into_response())
|
||||
} else {
|
||||
return Err(unsupported_version_rejection(endpoint_version));
|
||||
Err(unsupported_version_rejection(endpoint_version))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6270,7 +6270,9 @@ impl ApiTester {
|
||||
|
||||
// Produce a BLS to execution change event
|
||||
self.client
|
||||
.post_beacon_pool_bls_to_execution_changes(&[self.bls_to_execution_change.clone()])
|
||||
.post_beacon_pool_bls_to_execution_changes(std::slice::from_ref(
|
||||
&self.bls_to_execution_change,
|
||||
))
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user