mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-26 17:52:25 +01:00
contractcourt: include custom records on replayed htlc
When notifying the invoice registry for an exit hop htlc we also want to include its custom records. The channelLink, the other caller of this method, already populates this field. So we make sure the contest resolver does so too.
This commit is contained in:
parent
bb9c680a48
commit
231dd6b464
@ -308,7 +308,8 @@ func (h *htlcIncomingContestResolver) Resolve(
|
||||
|
||||
resolution, err := h.Registry.NotifyExitHopHtlc(
|
||||
h.htlc.RHash, h.htlc.Amt, h.htlcExpiry, currentHeight,
|
||||
circuitKey, hodlQueue.ChanIn(), nil, payload,
|
||||
circuitKey, hodlQueue.ChanIn(), h.htlc.CustomRecords,
|
||||
payload,
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Loading…
x
Reference in New Issue
Block a user