htlcswitch,rpc: expose onion blob for intercepts

This commit is contained in:
Juan Pablo Civile committed 2020-10-31 14:09:52 -03:00
1 parent 46225e2921
commit 033c5b7a3f
6 files changed
+190 -167

No files matched your search

+3
View File
@@ -231,6 +231,9 @@ type InterceptedPacket struct {
// CustomRecords are user-defined records in the custom type range that
// were included in the payload.
CustomRecords record.CustomSet
// OnionBlob is the onion packet for the next hop
OnionBlob [lnwire.OnionPacketSize]byte
}
// InterceptedForward is passed to the ForwardInterceptor for every forwarded