From 98275178c7cd9d7a51affdaa415a463f73578d47 Mon Sep 17 00:00:00 2001 From: sevastos Date: Mon, 22 Oct 2018 11:04:59 +0300 Subject: [PATCH] discovery/gossiper: fix logging on failed channel update --- discovery/gossiper.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/discovery/gossiper.go b/discovery/gossiper.go index fb66c132..783fd756 100644 --- a/discovery/gossiper.go +++ b/discovery/gossiper.go @@ -2048,7 +2048,8 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement( if err != nil { log.Errorf("unable to send channel update -- "+ "could not find peer %x: %v", - remotePub, err) + remotePub.SerializeCompressed(), + err) } else { // Send ChannelUpdate directly to remotePeer. // TODO(halseth): make reliable send?