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
commit d0a29364fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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