From 655618b2a1619ffed426ca5523bb88a862b73914 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Sun, 23 Apr 2017 19:06:33 -0700 Subject: [PATCH] discovery: properly log unit64 version of shortChanID in logs --- discovery/service.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discovery/service.go b/discovery/service.go index 73833357c..07df9b532 100644 --- a/discovery/service.go +++ b/discovery/service.go @@ -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],