Skip to content

Commit

Permalink
fix mDNS
Browse files Browse the repository at this point in the history
  • Loading branch information
oscartbeaumont committed May 27, 2024
1 parent 289aaa0 commit d147d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/p2p/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ impl P2PManager {
};

let should_revert = match (config.p2p.disabled, config.p2p.discovery) {
(false, _) | (_, P2PDiscoveryState::Disabled) => {
(true, _) | (_, P2PDiscoveryState::Disabled) => {
let mdns = {
let mut mdns = self.mdns.lock().unwrap_or_else(PoisonError::into_inner);
mdns.take()
Expand Down

0 comments on commit d147d8d

Please sign in to comment.