htlcswitch/switch: set SourceRef of failed packets

This commit is contained in:
Conner Fromknecht 2018-07-27 03:46:56 -07:00
parent cd7e4f98c0
commit 4f2137eafc
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -1174,6 +1174,7 @@ func (s *Switch) failAddPacket(packet *htlcPacket,
log.Error(failErr)
failPkt := &htlcPacket{
sourceRef: packet.sourceRef,
incomingChanID: packet.incomingChanID,
incomingHTLCID: packet.incomingHTLCID,
circuit: packet.circuit,