Skip to content

Commit f4f0f06

Browse files
committed
go.mod: update lndclient
Include lightninglabs/lndclient#255 TODO: remove replace
1 parent 16d56f1 commit f4f0f06

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,4 +225,6 @@ replace gonum.org/v1/gonum => github.com/gonum/gonum v0.11.0
225225

226226
replace gonum.org/v1/plot => github.com/gonum/plot v0.10.1
227227

228+
replace github.com/lightninglabs/lndclient => github.com/starius/lndclient v0.20.0-1-ports.0.20251110204322-be4fd2c52ae3
229+
228230
go 1.24.6

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,8 +1107,6 @@ github.com/lightninglabs/gozmq v0.0.0-20191113021534-d20a764486bf h1:HZKvJUHlcXI
11071107
github.com/lightninglabs/gozmq v0.0.0-20191113021534-d20a764486bf/go.mod h1:vxmQPeIQxPf6Jf9rM8R+B4rKBqLA2AjttNxkFBL2Plk=
11081108
github.com/lightninglabs/lightning-node-connect/hashmailrpc v1.0.3 h1:NuDp6Z+QNMSzZ/+RzWsjgAgQSr/REDxTiHmTczZxlXA=
11091109
github.com/lightninglabs/lightning-node-connect/hashmailrpc v1.0.3/go.mod h1:bDnEKRN1u13NFBuy/C+bFLhxA5bfd3clT25y76QY0AM=
1110-
github.com/lightninglabs/lndclient v0.20.0-1 h1:xwDoh7z3bszXc4mkMO6ksEcXhkQw9v0XHJ7fB0LKDNo=
1111-
github.com/lightninglabs/lndclient v0.20.0-1/go.mod h1:LcbsTCCd0Qw5C4zlv/YqrPY81XUVA6wN1lA/qEWIs+Y=
11121110
github.com/lightninglabs/migrate/v4 v4.18.2-9023d66a-fork-pr-2 h1:eFjp1dIB2BhhQp/THKrjLdlYuPugO9UU4kDqu91OX/Q=
11131111
github.com/lightninglabs/migrate/v4 v4.18.2-9023d66a-fork-pr-2/go.mod h1:99BKpIi6ruaaXRM1A77eqZ+FWPQ3cfRa+ZVy5bmWMaY=
11141112
github.com/lightninglabs/neutrino v0.16.1 h1:5Kz4ToxncEVkpKC6fwUjXKtFKJhuxlG3sBB3MdJTJjs=
@@ -1288,6 +1286,8 @@ github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z
12881286
github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y=
12891287
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
12901288
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
1289+
github.com/starius/lndclient v0.20.0-1-ports.0.20251110204322-be4fd2c52ae3 h1:3KLh1JqXWShhBRsdEOjEs1DfAwd8BNk2YYnTW88B5yw=
1290+
github.com/starius/lndclient v0.20.0-1-ports.0.20251110204322-be4fd2c52ae3/go.mod h1:VxIakyBmTIy4tmg2zqj45YrDkJi53PQLwW0lmFzRR6k=
12911291
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
12921292
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
12931293
github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE=

loopin_testcontext_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ func (c *loopInTestContext) updateInvoiceState(amount btcutil.Amount,
8282

8383
c.swapInvoiceSubscription.Update <- lndclient.InvoiceUpdate{
8484
AmtPaid: amount,
85-
State: state,
85+
Invoice: lndclient.Invoice{
86+
State: state,
87+
},
8688
}
8789

8890
// If we're in a final state, close our update channels as lndclient

server_mock_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,9 @@ func (s *serverMock) NewLoopInSwap(_ context.Context, swapHash lntypes.Hash,
181181
// cancel the probe payment.
182182
probeSub := <-s.lnd.SingleInvoiceSubcribeChannel
183183
probeSub.Update <- lndclient.InvoiceUpdate{
184-
State: invpkg.ContractAccepted,
184+
Invoice: lndclient.Invoice{
185+
State: invpkg.ContractAccepted,
186+
},
185187
}
186188
<-s.lnd.FailInvoiceChannel
187189

0 commit comments

Comments
 (0)