contractcourt: include custom records on replayed htlc

Add another case in addition to #9357.
This commit is contained in:
yyforyongyu committed 2024-12-20 17:54:13 +08:00
1 parent a1bd8943db
commit ecd82a3bcb
1 file changed
+1 -1
@@ -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