channeldb+htlcswitch: make sure circuit is not nil in teardownCircuit

This commit is contained in:
yyforyongyu authored and yyforyongyu committed 2024-08-07 22:17:59 +08:00
1 parent 2fc79d8946
commit 3b6e28d19b
3 files changed
+32 -40

No files matched your search

+1 -1
View File
@@ -3297,7 +3297,7 @@ func (l *channelLink) processRemoteSettleFails(fwdPkg *channeldb.FwdPkg,
return
}
l.log.Debugf("settle-fail-filter %v", fwdPkg.SettleFailFilter)
l.log.Debugf("settle-fail-filter: %v", fwdPkg.SettleFailFilter)
var switchPackets []*htlcPacket
for i, pd := range settleFails {