discovery: fix missing formatting argument

Fixes #1576.
This commit is contained in:
Olaoluwa Osuntokun 2018-07-17 16:43:06 -07:00
parent 6dff599d21
commit daf4a25fd9
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

@ -9,6 +9,9 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/wire"
"github.com/coreos/bbolt" "github.com/coreos/bbolt"
"github.com/davecgh/go-spew/spew" "github.com/davecgh/go-spew/spew"
"github.com/go-errors/errors" "github.com/go-errors/errors"
@ -19,9 +22,6 @@ import (
"github.com/lightningnetwork/lnd/lnwire" "github.com/lightningnetwork/lnd/lnwire"
"github.com/lightningnetwork/lnd/multimutex" "github.com/lightningnetwork/lnd/multimutex"
"github.com/lightningnetwork/lnd/routing" "github.com/lightningnetwork/lnd/routing"
"github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/wire"
) )
var ( var (
@ -2404,9 +2404,11 @@ func (d *AuthenticatedGossiper) sendAnnSigReliably(
select { select {
case <-connected: case <-connected:
log.Infof("peer %x reconnected. Retry sending" +
" AnnounceSignatures.")
// Retry sending. // Retry sending.
log.Infof("peer %x reconnected. Retry sending"+
" AnnounceSignatures.",
remotePeer.SerializeCompressed())
case <-d.quit: case <-d.quit:
log.Infof("Gossiper shutting down, did not send" + log.Infof("Gossiper shutting down, did not send" +
" AnnounceSignatures.") " AnnounceSignatures.")