Commit 07d52b33 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet
Browse files

p2p/proto/mux: make log more useful

parent 33dcef5f
...@@ -115,7 +115,7 @@ func (m *Mux) HandleSync(s inet.Stream) { ...@@ -115,7 +115,7 @@ func (m *Mux) HandleSync(s inet.Stream) {
return return
} }
log.Infof("muxer handle protocol: %s", name) log.Infof("muxer handle protocol %s: %s", s.Conn().RemotePeer(), name)
handler(s) handler(s)
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment