discovery: format log message with Errorf

This commit is contained in:
Matt Drollette 2018-03-15 13:43:58 -05:00 committed by Olaoluwa Osuntokun
parent 1740c630c6
commit 1b7b35a8bc

@ -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()