mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-26 23:53:19 +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 {
|
||||
p, ok := pm.peers[t]
|
||||
if !ok {
|
||||
// No longer connected.
|
||||
log.Infof("tried sending wantlist change to non-partner peer: %s", t)
|
||||
continue
|
||||
}
|
||||
p.addMessage(ws.entries, ws.from)
|
||||
|
Reference in New Issue
Block a user