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

+1 -1
View File
@@ -294,7 +294,7 @@ func (c *mailboxContext) checkFails(adds []*htlcPacket) {
select {
case pkt := <-c.forwards:
c.t.Fatalf("unexpected forward: %v", pkt)
c.t.Fatalf("unexpected forward: %v", pkt.keystone())
case <-time.After(50 * time.Millisecond):
}
}