Fix Clippy

This commit is contained in:
Michael Sproul
2022-12-14 14:04:13 +11:00
parent 991e4094f8
commit f3e8ca852e

View File

@@ -1677,7 +1677,7 @@ pub fn serve<T: BeaconChainTypes>(
.and_then(
|chain: Arc<BeaconChain<T>>,
address_changes: Vec<SignedBlsToExecutionChange>,
network_tx: UnboundedSender<NetworkMessage<T::EthSpec>>,
#[allow(unused)] network_tx: UnboundedSender<NetworkMessage<T::EthSpec>>,
log: Logger| {
blocking_json_task(move || {
let mut failures = vec![];