peer: fix issue where we echo remote Shutdown

This commit is contained in:
Keagan McClelland committed 2024-01-30 12:15:59 -05:00
1 parent c89005c3a1
commit 317aaf9940
2 files changed
+52 -1

No files matched your search

+1 -1
View File
@@ -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
}