contractcourt: include custom records on replayed htlc

Add another case in addition to #9357.
This commit is contained in:
yyforyongyu
2024-12-18 03:30:39 +08:00
parent a1bd8943db
commit ecd82a3bcb

View File

@@ -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