Skip to content

Commit

Permalink
[FAB-3495] Misleading log message at queueNewMessage
Browse files Browse the repository at this point in the history
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 <yacovm@il.ibm.com>
  • Loading branch information
yacovm committed May 2, 2017
1 parent d6fbfcf commit abee405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gossip/state/state.go
Expand Up @@ -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
}

Expand Down

0 comments on commit abee405

Please sign in to comment.