mulit: don't set customData on the lnrpc route level

We now make sure we only set the custom channel data in the
lnrpc.Route only if it contains relevant data.
This commit is contained in:
ziggie authored and yyforyongyu committed 2025-11-12 22:54:03 +08:00
1 parent f35c295bd8
commit cbfc0e0dc2
4 files changed
+26 -17

No files matched your search

+2 -1
View File
@@ -90,7 +90,8 @@ type PaymentCreationInfo struct {
// FirstHopCustomRecords are the TLV records that are to be sent to the
// first hop of this payment. These records will be transmitted via the
// wire message only and therefore do not affect the onion payload size.
// wire message (UpdateAddHTLC) only and therefore do not affect the
// onion payload size.
FirstHopCustomRecords lnwire.CustomRecords
}