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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user