Skip to content

Commit

Permalink
Fix WTF
Browse files Browse the repository at this point in the history
  • Loading branch information
mcamou committed Nov 21, 2024
1 parent 5c8ff3d commit e003173
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/network/mdns.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ type discoveryNotifee struct {
// HandlePeerFound interface to be called when new peer is found
func (n *discoveryNotifee) HandlePeerFound(pi peer.AddrInfo) {
pe := PeerEvent{
AddrInfo: pi,
// WTF: Use const
Action: "PeerFound",
AddrInfo: pi,
Action: PeerFound,
Source: "mdns",
Rendezvous: n.Rendezvous,
}
Expand Down

0 comments on commit e003173

Please sign in to comment.