mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
Remove unreachable void pattern for ConnectionLimits (#8871)
Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
This commit is contained in:
@@ -1861,8 +1861,6 @@ impl<E: EthSpec> Network<E> {
|
|||||||
self.inject_upnp_event(e);
|
self.inject_upnp_event(e);
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
#[allow(unreachable_patterns)]
|
|
||||||
BehaviourEvent::ConnectionLimits(le) => libp2p::core::util::unreachable(le),
|
|
||||||
},
|
},
|
||||||
SwarmEvent::ConnectionEstablished { .. } => None,
|
SwarmEvent::ConnectionEstablished { .. } => None,
|
||||||
SwarmEvent::ConnectionClosed { .. } => None,
|
SwarmEvent::ConnectionClosed { .. } => None,
|
||||||
|
|||||||
Reference in New Issue
Block a user