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:
2 files changed
+15
-1
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user