Skip to content

Commit abee405

Browse files
committed
[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 <[email protected]>
1 parent d6fbfcf commit abee405

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gossip/state/state.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,8 @@ func (s *GossipStateProviderImpl) Stop() {
399399
// New message notification/handler
400400
func (s *GossipStateProviderImpl) queueNewMessage(msg *proto.GossipMessage) {
401401
if !bytes.Equal(msg.Channel, []byte(s.chainID)) {
402-
logger.Warning("Received state transfer request for channel",
403-
string(msg.Channel), "while expecting channel", s.chainID, "skipping request...")
402+
logger.Warning("Received enqueue for channel",
403+
string(msg.Channel), "while expecting channel", s.chainID, "ignoring enqueue")
404404
return
405405
}
406406

0 commit comments

Comments
 (0)