htlcswitch,rpc: expose onion blob for intercepts

This commit is contained in:
Juan Pablo Civile
2020-06-25 13:43:47 -03:00
parent 46225e2921
commit 033c5b7a3f
6 changed files with 190 additions and 167 deletions

View File

@@ -164,6 +164,7 @@ func (r *forwardInterceptor) holdAndForwardToClient(
IncomingAmountMsat: uint64(htlc.IncomingAmount),
IncomingExpiry: htlc.IncomingExpiry,
CustomRecords: htlc.CustomRecords,
OnionBlob: htlc.OnionBlob[:],
}
return r.stream.Send(interceptionRequest)