discovery: format log message with Errorf
This commit is contained in:
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
|
// We'll ignore any channel announcements that target any chain
|
||||||
// other than the set of chains we know of.
|
// other than the set of chains we know of.
|
||||||
if !bytes.Equal(msg.ChainHash[:], d.cfg.ChainHash[:]) {
|
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,
|
"chain=%v, gossiper on chain=%v", msg.ChainHash,
|
||||||
d.cfg.ChainHash)
|
d.cfg.ChainHash)
|
||||||
d.rejectMtx.Lock()
|
d.rejectMtx.Lock()
|
||||||
|
Loading…
Reference in New Issue
Block a user