Skip to content

Commit

Permalink
chore(network): updating NotifeeService logs (#933)
Browse files Browse the repository at this point in the history
  • Loading branch information
themantre authored Jan 11, 2024
1 parent e4ccdc0 commit 85862d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/notifee.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (s *NotifeeService) Reachability() lp2pnetwork.Reachability {

func (s *NotifeeService) Connected(_ lp2pnetwork.Network, conn lp2pnetwork.Conn) {
pid := conn.RemotePeer()
s.logger.Info("connected to peer", "pid", pid, "direction", conn.Stat().Direction)
s.logger.Info("connected to peer", "pid", pid, "direction", conn.Stat().Direction, "addr", conn.RemoteMultiaddr())

s.peerMgr.AddPeer(pid, conn.RemoteMultiaddr(), conn.Stat().Direction)
s.sendConnectEvent(pid, conn.RemoteMultiaddr(), conn.Stat().Direction)
Expand Down

0 comments on commit 85862d3

Please sign in to comment.