From 1b7b35a8bc8d0048379fb9378c6b9465f6c32717 Mon Sep 17 00:00:00 2001 From: Matt Drollette Date: Thu, 15 Mar 2018 13:43:58 -0500 Subject: [PATCH] discovery: format log message with Errorf --- discovery/gossiper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discovery/gossiper.go b/discovery/gossiper.go index 50305f495..4c006e815 100644 --- a/discovery/gossiper.go +++ b/discovery/gossiper.go @@ -1571,7 +1571,7 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement(nMsg *networkMsg) []n // We'll ignore any channel announcements that target any chain // other than the set of chains we know of. if !bytes.Equal(msg.ChainHash[:], d.cfg.ChainHash[:]) { - log.Error("Ignoring ChannelUpdate from "+ + log.Errorf("Ignoring ChannelUpdate from "+ "chain=%v, gossiper on chain=%v", msg.ChainHash, d.cfg.ChainHash) d.rejectMtx.Lock()