mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-15 03:51:23 +01:00
server: print pubkey in hex in log [skip ci]
Fix log statement that prints out peer pubkey.
This commit is contained in:
parent
ccc03931ad
commit
e68b1daf00
1 changed files with 4 additions and 2 deletions
|
@ -3699,7 +3699,8 @@ func (s *server) peerTerminationWatcher(p *peer.Brontide, ready chan struct{}) {
|
||||||
// outbound connection attempt is being made.
|
// outbound connection attempt is being made.
|
||||||
go func() {
|
go func() {
|
||||||
srvrLog.Debugf("Scheduling connection re-establishment to "+
|
srvrLog.Debugf("Scheduling connection re-establishment to "+
|
||||||
"persistent peer %v in %s", p.IdentityKey(), backoff)
|
"persistent peer %x in %s",
|
||||||
|
p.IdentityKey().SerializeCompressed(), backoff)
|
||||||
|
|
||||||
select {
|
select {
|
||||||
case <-time.After(backoff):
|
case <-time.After(backoff):
|
||||||
|
@ -3710,7 +3711,8 @@ func (s *server) peerTerminationWatcher(p *peer.Brontide, ready chan struct{}) {
|
||||||
}
|
}
|
||||||
|
|
||||||
srvrLog.Debugf("Attempting to re-establish persistent "+
|
srvrLog.Debugf("Attempting to re-establish persistent "+
|
||||||
"connection to peer %v", p.IdentityKey())
|
"connection to peer %x",
|
||||||
|
p.IdentityKey().SerializeCompressed())
|
||||||
|
|
||||||
s.connectToPersistentPeer(pubStr)
|
s.connectToPersistentPeer(pubStr)
|
||||||
}()
|
}()
|
||||||
|
|
Loading…
Add table
Reference in a new issue