mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 18:32:42 +00:00
update libp2p to version 0.54 (#6249)
* update libp2p to version 0.54.0 * address review * Merge branch 'unstable' of github.com:sigp/lighthouse into update-libp2p * Merge branch 'update-libp2p' of github.com:sigp/lighthouse into update-libp2p
This commit is contained in:
@@ -1661,7 +1661,11 @@ impl<E: EthSpec> Network<E> {
|
||||
/// Handle an identify event.
|
||||
fn inject_identify_event(&mut self, event: identify::Event) -> Option<NetworkEvent<E>> {
|
||||
match event {
|
||||
identify::Event::Received { peer_id, mut info } => {
|
||||
identify::Event::Received {
|
||||
peer_id,
|
||||
mut info,
|
||||
connection_id: _,
|
||||
} => {
|
||||
if info.listen_addrs.len() > MAX_IDENTIFY_ADDRESSES {
|
||||
debug!(
|
||||
self.log,
|
||||
|
||||
Reference in New Issue
Block a user