From abee4059a4f32d503840fa311b96ad9430867085 Mon Sep 17 00:00:00 2001 From: YACOVM Date: Tue, 2 May 2017 23:54:46 +0300 Subject: [PATCH] [FAB-3495] Misleading log message at queueNewMessage This log message that is logged is misleading, as queueNewMessage is used for message that come from the dissemination layer, while messages about state transfer requests reach directMessage instead. Change-Id: I62465ca0bb35f4b1e68badc82b63d6d554af9978 Signed-off-by: Yacov Manevich --- gossip/state/state.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gossip/state/state.go b/gossip/state/state.go index 95e8638632a..99ef9ce7769 100644 --- a/gossip/state/state.go +++ b/gossip/state/state.go @@ -399,8 +399,8 @@ func (s *GossipStateProviderImpl) Stop() { // New message notification/handler func (s *GossipStateProviderImpl) queueNewMessage(msg *proto.GossipMessage) { if !bytes.Equal(msg.Channel, []byte(s.chainID)) { - logger.Warning("Received state transfer request for channel", - string(msg.Channel), "while expecting channel", s.chainID, "skipping request...") + logger.Warning("Received enqueue for channel", + string(msg.Channel), "while expecting channel", s.chainID, "ignoring enqueue") return }