parent
6dff599d21
commit
daf4a25fd9
@ -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.")
|
||||||
|
Loading…
Reference in New Issue
Block a user