From 79848aa93b3d6e9b8de1fc9591d38c2991beff96 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Mon, 10 Nov 2025 17:46:39 -0300 Subject: [PATCH] go.mod: update lndclient to v0.20.0-4 Include https://github.com/lightninglabs/lndclient/pull/250 SubscribeSingleInvoice: provide full invoice (lnd-20-0 port) Include https://github.com/lightninglabs/lndclient/pull/254 Port "SendCoins: use SatPerVbyte" and "bump runc to 1.2.8" to lnd-20-0 Fixed Loop build after https://github.com/lightninglabs/lndclient/pull/250 --- go.mod | 2 +- go.sum | 4 ++-- loopin_testcontext_test.go | 4 +++- server_mock_test.go | 4 +++- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 63b57f0ce..8a8b6f315 100644 --- a/go.mod +++ b/go.mod @@ -20,7 +20,7 @@ require ( github.com/jessevdk/go-flags v1.4.0 github.com/lib/pq v1.10.9 github.com/lightninglabs/aperture v0.3.13-beta - github.com/lightninglabs/lndclient v0.20.0-1 + github.com/lightninglabs/lndclient v0.20.0-4 github.com/lightninglabs/loop/looprpc v1.0.7 github.com/lightninglabs/loop/swapserverrpc v1.0.14 github.com/lightninglabs/taproot-assets v0.7.0-rc1.0.20251014172227-e6ae082c0b4b diff --git a/go.sum b/go.sum index ad8ea4e0e..0f4605157 100644 --- a/go.sum +++ b/go.sum @@ -1107,8 +1107,8 @@ github.com/lightninglabs/gozmq v0.0.0-20191113021534-d20a764486bf h1:HZKvJUHlcXI github.com/lightninglabs/gozmq v0.0.0-20191113021534-d20a764486bf/go.mod h1:vxmQPeIQxPf6Jf9rM8R+B4rKBqLA2AjttNxkFBL2Plk= github.com/lightninglabs/lightning-node-connect/hashmailrpc v1.0.3 h1:NuDp6Z+QNMSzZ/+RzWsjgAgQSr/REDxTiHmTczZxlXA= github.com/lightninglabs/lightning-node-connect/hashmailrpc v1.0.3/go.mod h1:bDnEKRN1u13NFBuy/C+bFLhxA5bfd3clT25y76QY0AM= -github.com/lightninglabs/lndclient v0.20.0-1 h1:xwDoh7z3bszXc4mkMO6ksEcXhkQw9v0XHJ7fB0LKDNo= -github.com/lightninglabs/lndclient v0.20.0-1/go.mod h1:LcbsTCCd0Qw5C4zlv/YqrPY81XUVA6wN1lA/qEWIs+Y= +github.com/lightninglabs/lndclient v0.20.0-4 h1:oSdoAtCcGJrlr6Pwi6jgzawBRpFFZKauyL+IzwV1iGc= +github.com/lightninglabs/lndclient v0.20.0-4/go.mod h1:VxIakyBmTIy4tmg2zqj45YrDkJi53PQLwW0lmFzRR6k= github.com/lightninglabs/migrate/v4 v4.18.2-9023d66a-fork-pr-2 h1:eFjp1dIB2BhhQp/THKrjLdlYuPugO9UU4kDqu91OX/Q= github.com/lightninglabs/migrate/v4 v4.18.2-9023d66a-fork-pr-2/go.mod h1:99BKpIi6ruaaXRM1A77eqZ+FWPQ3cfRa+ZVy5bmWMaY= github.com/lightninglabs/neutrino v0.16.1 h1:5Kz4ToxncEVkpKC6fwUjXKtFKJhuxlG3sBB3MdJTJjs= diff --git a/loopin_testcontext_test.go b/loopin_testcontext_test.go index cc48990a7..bc566b60b 100644 --- a/loopin_testcontext_test.go +++ b/loopin_testcontext_test.go @@ -82,7 +82,9 @@ func (c *loopInTestContext) updateInvoiceState(amount btcutil.Amount, c.swapInvoiceSubscription.Update <- lndclient.InvoiceUpdate{ AmtPaid: amount, - State: state, + Invoice: lndclient.Invoice{ + State: state, + }, } // If we're in a final state, close our update channels as lndclient diff --git a/server_mock_test.go b/server_mock_test.go index 43abf6489..4baceb64b 100644 --- a/server_mock_test.go +++ b/server_mock_test.go @@ -181,7 +181,9 @@ func (s *serverMock) NewLoopInSwap(_ context.Context, swapHash lntypes.Hash, // cancel the probe payment. probeSub := <-s.lnd.SingleInvoiceSubcribeChannel probeSub.Update <- lndclient.InvoiceUpdate{ - State: invpkg.ContractAccepted, + Invoice: lndclient.Invoice{ + State: invpkg.ContractAccepted, + }, } <-s.lnd.FailInvoiceChannel