mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-17 11:52:42 +00:00
Address clippy arith lints (#1038)
This commit is contained in:
@@ -507,10 +507,11 @@ pub fn publish_attestations<T: BeaconChainTypes>(
|
||||
}
|
||||
}
|
||||
})?;
|
||||
Ok(attestations)
|
||||
|
||||
Ok((attestations, beacon_chain))
|
||||
})
|
||||
.and_then(|attestations| {
|
||||
publish_raw_attestations_to_network::<T>(network_chan, attestations)
|
||||
.and_then(|(attestations, beacon_chain)| {
|
||||
publish_raw_attestations_to_network::<T>(network_chan, attestations, &beacon_chain.spec)
|
||||
})
|
||||
.and_then(|_| response_builder?.body_no_ssz(&())),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user