Skip to content

Commit 2c1399f

Browse files
committed
contractcourt: include custom records on replayed htlc
Add another case in addition to #9357.
1 parent d8ab117 commit 2c1399f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contractcourt/htlc_incoming_contest_resolver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ func (h *htlcIncomingContestResolver) findAndapplyPreimage() (bool, error) {
664664
// via the preimage beacon.
665665
resolution, err := h.Registry.NotifyExitHopHtlc(
666666
h.htlc.RHash, h.htlc.Amt, h.htlcExpiry, 0,
667-
circuitKey, nil, nil, payload,
667+
circuitKey, nil, h.htlc.CustomRecords, payload,
668668
)
669669
if err != nil {
670670
return false, err

0 commit comments

Comments
 (0)