identify: log protocols from remote peers in peerstore
This commit is contained in:
parent
6635e3d7f5
commit
de84a41402
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue