peer: fix issue where we echo remote Shutdown
This commit is contained in:
1 parent
c89005c3a1
commit
317aaf9940
2 files changed
+52
-1
No files matched your search
+1
-1
@@ -3638,7 +3638,7 @@ func (p *Brontide) handleCloseMsg(msg *closeMsg) {
|
||||
// the Shutdown message since we don't have to wait for
|
||||
// commitment transaction synchronization.
|
||||
if link == nil {
|
||||
p.queueMsg(typed, nil)
|
||||
p.queueMsg(&msg, nil)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user