htlcswitch+invoices: log payment metadata

This commit is contained in:
Joost Jager committed 2022-04-13 22:55:42 +02:00
1 parent 9195f29e61
commit 62ae0387ff
6 files changed
+75 -14

No files matched your search

+5
View File
@@ -30,6 +30,7 @@ type mockPayload struct {
mpp *record.MPP
amp *record.AMP
customRecords record.CustomSet
metadata []byte
}
func (p *mockPayload) MultiPath() *record.MPP {
@@ -50,6 +51,10 @@ func (p *mockPayload) CustomRecords() record.CustomSet {
return p.customRecords
}
func (p *mockPayload) Metadata() []byte {
return p.metadata
}
const (
testHtlcExpiry = uint32(5)