pull/19/head
Niko 2 years ago
parent cccf0d66d4
commit f279fd6e7c
  1. 2
      p2p-net/src/broker.rs
  2. 2
      p2p-net/src/connection.rs

@ -64,7 +64,7 @@ pub struct Broker {
impl Broker { impl Broker {
pub fn reconnecting(&mut self, peer_id: &DirectPeerId) { pub fn reconnecting(&mut self, peer_id: &DirectPeerId) {
let mut peerinfo = self.peers.get_mut(peer_id); let peerinfo = self.peers.get_mut(peer_id);
match peerinfo { match peerinfo {
Some(info) => match &info.connected { Some(info) => match &info.connected {
PeerConnection::NONE => {} PeerConnection::NONE => {}

@ -88,7 +88,7 @@ pub enum FSMstate {
Noise0, Noise0,
Noise1, Noise1,
Noise2, Noise2,
Noise3, Noise3, // unused
ExtRequest, ExtRequest,
ExtResponse, ExtResponse,
ClientHello, ClientHello,

Loading…
Cancel
Save