peer/brontide: fix pubkey log
This commit is contained in:
parent
a48c369250
commit
bf18929f0e
@ -2785,11 +2785,11 @@ func (p *Brontide) handleCloseMsg(msg *closeMsg) {
|
|||||||
func (p *Brontide) HandleLocalCloseChanReqs(req *htlcswitch.ChanClose) {
|
func (p *Brontide) HandleLocalCloseChanReqs(req *htlcswitch.ChanClose) {
|
||||||
select {
|
select {
|
||||||
case p.localCloseChanReqs <- req:
|
case p.localCloseChanReqs <- req:
|
||||||
peerLog.Infof("Local close channel request delivered to peer: %v",
|
peerLog.Infof("Local close channel request delivered to "+
|
||||||
p.PubKey())
|
"peer: %x", p.PubKey())
|
||||||
case <-p.quit:
|
case <-p.quit:
|
||||||
peerLog.Infof("Unable to deliver local close channel request to peer "+
|
peerLog.Infof("Unable to deliver local close channel request "+
|
||||||
"%x", p.PubKey())
|
"to peer %x", p.PubKey())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user