From d30cba1089663ee96f435e9fd6e433b00cf284ca Mon Sep 17 00:00:00 2001 From: George Tsagkarelis Date: Fri, 13 Dec 2024 11:06:47 +0100 Subject: [PATCH 1/2] 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. --- contractcourt/htlc_incoming_contest_resolver.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contractcourt/htlc_incoming_contest_resolver.go b/contractcourt/htlc_incoming_contest_resolver.go index 6bda4e398b..9c93b76179 100644 --- a/contractcourt/htlc_incoming_contest_resolver.go +++ b/contractcourt/htlc_incoming_contest_resolver.go @@ -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 From 74d15d1fbc89adf088b56c0888fd0d19b7b68600 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Mon, 16 Dec 2024 12:52:24 +0100 Subject: [PATCH 2/2] build: bump version to v0.18.4-beta --- build/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/version.go b/build/version.go index 0fcd5764f3..b9f6ab38e1 100644 --- a/build/version.go +++ b/build/version.go @@ -47,7 +47,7 @@ const ( // AppPreRelease MUST only contain characters from semanticAlphabet per // the semantic versioning spec. - AppPreRelease = "beta.rc2" + AppPreRelease = "beta" ) func init() {