Merge pull request #4558 from halseth/anchors-spec

[anchor commitment] Make the anchor commitment type spec compliant
This commit is contained in:
Conner Fromknecht
2020-09-11 15:43:56 -04:00
committed by GitHub
6 changed files with 135 additions and 43 deletions

View File

@@ -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())
}
}