From decac693ab3487a3e5f17bb1eb94db7ee91878fe Mon Sep 17 00:00:00 2001 From: Callum Waters Date: Fri, 9 Jul 2021 14:48:33 +0200 Subject: [PATCH] p2p: remove annoying error log (#6688) I put this error log in here because I thought it might be a helpful indicator to see when a reactor sends a message to a peer that doesn't have that channel open but it turns out this is happening all the time and it's kind of annoying --- internal/p2p/router.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/p2p/router.go b/internal/p2p/router.go index 7b3b2505c..053787db1 100644 --- a/internal/p2p/router.go +++ b/internal/p2p/router.go @@ -476,8 +476,10 @@ func (r *Router) routeChannel( } if !contains { - r.logger.Error("tried to send message across a channel that the peer doesn't have available", - "peer", envelope.To, "channel", chID) + // reactor tried to send a message across a channel that the + // peer doesn't have available. This is a known issue due to + // how peer subscriptions work: + // https://github.com/tendermint/tendermint/issues/6598 continue }