htlcswitch: set packet obfuscator for failures through switch

Set obfuscator for use in blinded error handling when we forward
failures through the switch.
This commit is contained in:
Carla Kirk-Cohen committed 2024-04-25 09:47:12 -04:00
1 parent 72260adddb
commit de9c9c028c
2 files changed
+15 -1

No files matched your search

+1
View File
@@ -738,6 +738,7 @@ func (m *memoryMailBox) FailAdd(pkt *htlcPacket) {
sourceRef: pkt.sourceRef,
hasSource: true,
localFailure: localFailure,
obfuscator: pkt.obfuscator,
linkFailure: linkError,
htlc: &lnwire.UpdateFailHTLC{
Reason: reason,