test: golang.org/x/net/context -> context

This commit is contained in:
Boris Nagaev 2025-07-08 00:14:02 -03:00
parent 2176e5245e
commit 36c5d6cee7
No known key found for this signature in database
4 changed files with 5 additions and 4 deletions

2
go.mod
View file

@ -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

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {