routing: add TlvTrafficShaper to bandwidth hints

This commit is contained in:
George Tsagkarelis authored and Oliver Gugger committed 2024-09-05 18:00:52 +02:00
1 parent 5dcda25881
commit 5b4de5f0d4
12 files changed
+314 -43

No files matched your search

+3
View File
@@ -235,6 +235,9 @@ func TestRequestRoute(t *testing.T) {
route, err := session.RequestRoute(
payment.Amount, payment.FeeLimit, 0, height,
lnwire.CustomRecords{
lnwire.MinCustomRecordsTlvType + 123: []byte{1, 2, 3},
},
)
if err != nil {
t.Fatal(err)