Skip to content

Commit 092da9d

Browse files
committed
linter: fix context package
1 parent e351fa6 commit 092da9d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

internal/test/chainnotifier_mock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package test
22

33
import (
44
"bytes"
5+
"context"
56
"sync"
67
"time"
78

@@ -10,7 +11,6 @@ import (
1011
"github.com/lightninglabs/lndclient"
1112
"github.com/lightningnetwork/lnd/chainntnfs"
1213
"github.com/lightningnetwork/lnd/lnrpc/chainrpc"
13-
"golang.org/x/net/context"
1414
)
1515

1616
type mockChainNotifier struct {

internal/test/lightning_client_mock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package test
22

33
import (
4+
"context"
45
"crypto/rand"
56
"encoding/hex"
67
"fmt"
@@ -17,7 +18,6 @@ import (
1718
"github.com/lightningnetwork/lnd/lntypes"
1819
"github.com/lightningnetwork/lnd/routing/route"
1920
"github.com/lightningnetwork/lnd/zpay32"
20-
"golang.org/x/net/context"
2121
)
2222

2323
type mockLightningClient struct {

internal/test/router_mock.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
package test
22

33
import (
4+
"context"
5+
46
"github.com/lightninglabs/lndclient"
57
"github.com/lightningnetwork/lnd/lntypes"
6-
"golang.org/x/net/context"
78
)
89

910
type mockRouter struct {

0 commit comments

Comments
 (0)