mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-23 03:17:43 +08:00
don't warn when trying to send wantlist to disconnected peers
fixes #4439 License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
parent
ba3cd5b38d
commit
f8a7683f25
@ -326,7 +326,7 @@ func (pm *WantManager) Run() {
|
||||
for _, t := range ws.targets {
|
||||
p, ok := pm.peers[t]
|
||||
if !ok {
|
||||
log.Warning("tried sending wantlist change to non-partner peer")
|
||||
// No longer connected.
|
||||
continue
|
||||
}
|
||||
p.addMessage(ws.entries, ws.from)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user