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

@@ -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,
}
}