htlcswitch: improve loggings for Keystone

This commit is contained in:
yyforyongyu committed 2023-01-12 22:08:02 +08:00
1 parent 6f0383bb4f
commit 31a40abd91
3 files changed
+4 -2

No files matched your search

+2
View File
@@ -548,6 +548,8 @@ func (m *memoryMailBox) mailCourier(cType courierType) {
m.pktCond.L.Unlock()
case <-deadline:
log.Debugf("Expiring add htlc with "+
"keystone=%v", add.keystone())
m.FailAdd(add)
case pktDone := <-m.pktReset: