mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 14:40:30 +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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue