mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-21 23:08:23 +00:00
Appease Clippy 1.68 and refactor http_api (#4068)
## Proposed Changes Two tiny updates to satisfy Clippy 1.68 Plus refactoring of the `http_api` into less complex types so the compiler can chew and digest them more easily. Co-authored-by: Michael Sproul <michael@sigmaprime.io>
This commit is contained in:
@@ -1695,7 +1695,6 @@ mod tests {
|
||||
|
||||
fn get_queued_attestations() -> Vec<QueuedAttestation> {
|
||||
(1..4)
|
||||
.into_iter()
|
||||
.map(|i| QueuedAttestation {
|
||||
slot: Slot::new(i),
|
||||
attesting_indices: vec![],
|
||||
|
||||
Reference in New Issue
Block a user