1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-28 08:47:42 +08:00

exchange: reintroduce info on wantlist update to no connected peer

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera
2018-03-12 23:23:27 +01:00
parent f8a7683f25
commit b91dfbfec4

View File

@ -326,7 +326,7 @@ func (pm *WantManager) Run() {
for _, t := range ws.targets { for _, t := range ws.targets {
p, ok := pm.peers[t] p, ok := pm.peers[t]
if !ok { if !ok {
// No longer connected. log.Infof("tried sending wantlist change to non-partner peer: %s", t)
continue continue
} }
p.addMessage(ws.entries, ws.from) p.addMessage(ws.entries, ws.from)