htlcswitch: expose custom records on intercepted packet

This commit is contained in:
Joost Jager
2020-06-24 12:03:00 +02:00
parent 363142de33
commit 2903505164
9 changed files with 216 additions and 165 deletions

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)