From daf4a25fd90df470a80fe5f44ca9f7d1e08290b8 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 17 Jul 2018 16:43:06 -0700 Subject: [PATCH] discovery: fix missing formatting argument Fixes #1576. --- discovery/gossiper.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/discovery/gossiper.go b/discovery/gossiper.go index fc0c23136..764617fb1 100644 --- a/discovery/gossiper.go +++ b/discovery/gossiper.go @@ -9,6 +9,9 @@ import ( "sync/atomic" "time" + "github.com/btcsuite/btcd/btcec" + "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/btcsuite/btcd/wire" "github.com/coreos/bbolt" "github.com/davecgh/go-spew/spew" "github.com/go-errors/errors" @@ -19,9 +22,6 @@ import ( "github.com/lightningnetwork/lnd/lnwire" "github.com/lightningnetwork/lnd/multimutex" "github.com/lightningnetwork/lnd/routing" - "github.com/btcsuite/btcd/btcec" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" ) var ( @@ -2404,9 +2404,11 @@ func (d *AuthenticatedGossiper) sendAnnSigReliably( select { case <-connected: - log.Infof("peer %x reconnected. Retry sending" + - " AnnounceSignatures.") // Retry sending. + log.Infof("peer %x reconnected. Retry sending"+ + " AnnounceSignatures.", + remotePeer.SerializeCompressed()) + case <-d.quit: log.Infof("Gossiper shutting down, did not send" + " AnnounceSignatures.")