peer/brontide: fix pubkey log

This commit is contained in:
Johan T. Halseth 2020-08-24 15:48:08 +02:00
parent a48c369250
commit bf18929f0e
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -2785,11 +2785,11 @@ func (p *Brontide) handleCloseMsg(msg *closeMsg) {
func (p *Brontide) HandleLocalCloseChanReqs(req *htlcswitch.ChanClose) {
select {
case p.localCloseChanReqs <- req:
peerLog.Infof("Local close channel request delivered to peer: %v",
p.PubKey())
peerLog.Infof("Local close channel request delivered to "+
"peer: %x", p.PubKey())
case <-p.quit:
peerLog.Infof("Unable to deliver local close channel request to peer "+
"%x", p.PubKey())
peerLog.Infof("Unable to deliver local close channel request "+
"to peer %x", p.PubKey())
}
}