htlcswitch: expose custom records on intercepted packet

This commit is contained in:
Joost Jager committed 2020-06-27 11:00:46 +02:00
1 parent 363142de33
commit 2903505164
9 files changed
+216 -165

No files matched your search

+1
View File
@@ -163,6 +163,7 @@ func (r *forwardInterceptor) holdAndForwardToClient(
OutgoingExpiry: htlc.OutgoingExpiry,
IncomingAmountMsat: uint64(htlc.IncomingAmount),
IncomingExpiry: htlc.IncomingExpiry,
CustomRecords: htlc.CustomRecords,
}
return r.stream.Send(interceptionRequest)