mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-05-30 09:40:24 +02: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
3c0810963f
commit
d30cba1089
@ -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