linter: fix context package

This commit is contained in:
Slyghtning
2025-11-20 10:55:44 +01:00
parent e351fa6928
commit 092da9d450
3 changed files with 4 additions and 3 deletions

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 {