discovery: format log message with Errorf

This commit is contained in:
Matt Drollette authored and Olaoluwa Osuntokun committed 2018-03-16 16:25:18 -07:00
1 parent 1740c630c6
commit 1b7b35a8bc
1 file changed
+1 -1
+1 -1
View File
@@ -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()