Merge pull request #2079 from sevastos/patch-1

discovery/gossiper: fix logging on failed channel update
This commit is contained in:
Olaoluwa Osuntokun
2018-10-23 18:16:36 -07:00
committed by GitHub

View File

@@ -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?