discovery: properly log unit64 version of shortChanID in logs
This commit is contained in:
1 file changed
+2
-2
@@ -490,8 +490,8 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement(nMsg *networkMsg) []l
|
|||||||
blockHeight := msg.ShortChannelID.BlockHeight
|
blockHeight := msg.ShortChannelID.BlockHeight
|
||||||
log.Infof("Announcement for chan_id=(%v), is premature: "+
|
log.Infof("Announcement for chan_id=(%v), is premature: "+
|
||||||
"advertises height %v, only height %v is known",
|
"advertises height %v, only height %v is known",
|
||||||
msg.ShortChannelID, msg.ShortChannelID.BlockHeight,
|
msg.ShortChannelID.ToUint64(),
|
||||||
d.bestHeight)
|
msg.ShortChannelID.BlockHeight, d.bestHeight)
|
||||||
|
|
||||||
d.prematureAnnouncements[blockHeight] = append(
|
d.prematureAnnouncements[blockHeight] = append(
|
||||||
d.prematureAnnouncements[blockHeight],
|
d.prematureAnnouncements[blockHeight],
|
||||||
|
|||||||
Reference in new issue
Block a user