From 9c7b2e690b37206251db5340e2b234e33a243208 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Wed, 18 Dec 2024 03:30:39 +0800 Subject: [PATCH] contractcourt: include custom records on replayed htlc Add another case in addition to #9357. --- contractcourt/htlc_incoming_contest_resolver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contractcourt/htlc_incoming_contest_resolver.go b/contractcourt/htlc_incoming_contest_resolver.go index c1383a947ca..95d08c417f8 100644 --- a/contractcourt/htlc_incoming_contest_resolver.go +++ b/contractcourt/htlc_incoming_contest_resolver.go @@ -664,7 +664,7 @@ func (h *htlcIncomingContestResolver) findAndapplyPreimage() (bool, error) { // via the preimage beacon. resolution, err := h.Registry.NotifyExitHopHtlc( h.htlc.RHash, h.htlc.Amt, h.htlcExpiry, 0, - circuitKey, nil, nil, payload, + circuitKey, nil, h.htlc.CustomRecords, payload, ) if err != nil { return false, err