Commit de84a414 authored by Jeromy's avatar Jeromy
Browse files

identify: log protocols from remote peers in peerstore

parent 6635e3d7
......@@ -173,6 +173,7 @@ func (ids *IDService) consumeMessage(mes *pb.Identify, c inet.Conn) {
p := c.RemotePeer()
// mes.Protocols
ids.Host.Peerstore().SetProtocols(p, mes.Protocols)
// mes.ObservedAddr
ids.consumeObservedAddress(mes.GetObservedAddr(), c)
......
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