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
@@ -127,6 +127,7 @@ func (f *interceptedForward) Packet() InterceptedPacket {
OutgoingAmount: f.htlc.Amount,
IncomingAmount: f.packet.incomingAmount,
IncomingExpiry: f.packet.incomingTimeout,
CustomRecords: f.packet.customRecords,
}
}