multi: use wire records on payment and intercept flows

This commit is contained in:
George Tsagkarelis
2024-04-16 12:29:15 +02:00
committed by Oliver Gugger
parent b5efc0ef3e
commit ef2c9801fb
10 changed files with 108 additions and 75 deletions

View File

@@ -89,7 +89,7 @@ func (r *forwardInterceptor) onIntercept(
OutgoingExpiry: htlc.OutgoingExpiry,
IncomingAmountMsat: uint64(htlc.IncomingAmount),
IncomingExpiry: htlc.IncomingExpiry,
CustomRecords: htlc.CustomRecords,
CustomRecords: htlc.InOnionCustomRecords,
OnionBlob: htlc.OnionBlob[:],
AutoFailHeight: htlc.AutoFailHeight,
}