diff --git a/go.mod b/go.mod index c54a787e..97a54488 100644 --- a/go.mod +++ b/go.mod @@ -35,7 +35,6 @@ require ( github.com/stretchr/testify v1.10.0 github.com/urfave/cli v1.22.14 go.etcd.io/bbolt v1.3.11 - golang.org/x/net v0.38.0 golang.org/x/sync v0.12.0 google.golang.org/grpc v1.64.1 google.golang.org/protobuf v1.34.2 @@ -184,6 +183,7 @@ require ( golang.org/x/crypto v0.36.0 // indirect golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8 // indirect golang.org/x/mod v0.21.0 // indirect + golang.org/x/net v0.38.0 // indirect golang.org/x/sys v0.31.0 // indirect golang.org/x/term v0.30.0 // indirect golang.org/x/text v0.23.0 // indirect diff --git a/test/chainnotifier_mock.go b/test/chainnotifier_mock.go index 7dbf0df4..d9a82202 100644 --- a/test/chainnotifier_mock.go +++ b/test/chainnotifier_mock.go @@ -2,6 +2,7 @@ package test import ( "bytes" + "context" "sync" "time" @@ -10,7 +11,6 @@ import ( "github.com/lightninglabs/lndclient" "github.com/lightningnetwork/lnd/chainntnfs" "github.com/lightningnetwork/lnd/lnrpc/chainrpc" - "golang.org/x/net/context" ) type mockChainNotifier struct { diff --git a/test/lightning_client_mock.go b/test/lightning_client_mock.go index 947c6ec6..bcd38e7b 100644 --- a/test/lightning_client_mock.go +++ b/test/lightning_client_mock.go @@ -1,6 +1,7 @@ package test import ( + "context" "crypto/rand" "encoding/hex" "fmt" @@ -17,7 +18,6 @@ import ( "github.com/lightningnetwork/lnd/lntypes" "github.com/lightningnetwork/lnd/routing/route" "github.com/lightningnetwork/lnd/zpay32" - "golang.org/x/net/context" ) type mockLightningClient struct { diff --git a/test/router_mock.go b/test/router_mock.go index e3e3e660..9ef84947 100644 --- a/test/router_mock.go +++ b/test/router_mock.go @@ -1,9 +1,10 @@ package test import ( + "context" + "github.com/lightninglabs/lndclient" "github.com/lightningnetwork/lnd/lntypes" - "golang.org/x/net/context" ) type mockRouter struct {