mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 14:17:56 +01:00
contractcourt: include custom records on replayed htlc
Add another case in addition to #9357.
This commit is contained in:
@@ -664,7 +664,7 @@ func (h *htlcIncomingContestResolver) findAndapplyPreimage() (bool, error) {
|
|||||||
// via the preimage beacon.
|
// via the preimage beacon.
|
||||||
resolution, err := h.Registry.NotifyExitHopHtlc(
|
resolution, err := h.Registry.NotifyExitHopHtlc(
|
||||||
h.htlc.RHash, h.htlc.Amt, h.htlcExpiry, 0,
|
h.htlc.RHash, h.htlc.Amt, h.htlcExpiry, 0,
|
||||||
circuitKey, nil, nil, payload,
|
circuitKey, nil, h.htlc.CustomRecords, payload,
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return false, err
|
return false, err
|
||||||
|
|||||||
Reference in New Issue
Block a user