discovery: properly log unit64 version of shortChanID in logs

This commit is contained in:
Olaoluwa Osuntokun 2017-04-23 19:06:33 -07:00
parent d188d97fce
commit 655618b2a1
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -490,8 +490,8 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement(nMsg *networkMsg) []l
blockHeight := msg.ShortChannelID.BlockHeight
log.Infof("Announcement for chan_id=(%v), is premature: "+
"advertises height %v, only height %v is known",
msg.ShortChannelID, msg.ShortChannelID.BlockHeight,
d.bestHeight)
msg.ShortChannelID.ToUint64(),
msg.ShortChannelID.BlockHeight, d.bestHeight)
d.prematureAnnouncements[blockHeight] = append(
d.prematureAnnouncements[blockHeight],