mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 20:57:10 +00:00
Linting
This commit is contained in:
@@ -2165,15 +2165,16 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
|
||||
};
|
||||
}
|
||||
|
||||
// TODO(focil) unused variables
|
||||
pub fn process_gossip_inclusion_list(
|
||||
self: &Arc<Self>,
|
||||
message_id: MessageId,
|
||||
peer_id: PeerId,
|
||||
_message_id: MessageId,
|
||||
_peer_id: PeerId,
|
||||
il: SignedInclusionList<T::EthSpec>,
|
||||
seen_timestamp: Duration,
|
||||
_seen_timestamp: Duration,
|
||||
) {
|
||||
match GossipVerifiedInclusionList::verify(&il, &self.chain) {
|
||||
Ok(gossip_verified_il) => {
|
||||
Ok(_gossip_verified_il) => {
|
||||
debug!(self.log, "Successfully verified gossip inclusion list");
|
||||
}
|
||||
Err(err) => match err {
|
||||
|
||||
@@ -541,8 +541,8 @@ impl<T: BeaconChainTypes> Router<T> {
|
||||
bls_to_execution_change,
|
||||
),
|
||||
),
|
||||
PubsubMessage::InclusionList(il) => {
|
||||
// TODO
|
||||
PubsubMessage::InclusionList(_il) => {
|
||||
// TODO(focil)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user