lntest: stdlib context

This commit is contained in:
Lars Lehtonen committed 2019-09-28 15:43:42 -07:00
1 parent 7fcac54dff
commit 085a63fee5
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,6 +1,7 @@
package lntest package lntest
import ( import (
"context"
"encoding/hex" "encoding/hex"
"errors" "errors"
"fmt" "fmt"
@@ -12,7 +13,6 @@ import (
"sync" "sync"
"time" "time"
"golang.org/x/net/context"
"google.golang.org/grpc/grpclog" "google.golang.org/grpc/grpclog"
"github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg"
+1 -1
View File
@@ -4,6 +4,7 @@ package itest
import ( import (
"bytes" "bytes"
"context"
"crypto/rand" "crypto/rand"
"crypto/sha256" "crypto/sha256"
"encoding/hex" "encoding/hex"
@@ -41,7 +42,6 @@ import (
"github.com/lightningnetwork/lnd/lntypes" "github.com/lightningnetwork/lnd/lntypes"
"github.com/lightningnetwork/lnd/lnwire" "github.com/lightningnetwork/lnd/lnwire"
"github.com/lightningnetwork/lnd/routing" "github.com/lightningnetwork/lnd/routing"
"golang.org/x/net/context"
) )
var ( var (
+1 -1
View File
@@ -2,6 +2,7 @@ package lntest
import ( import (
"bytes" "bytes"
"context"
"encoding/hex" "encoding/hex"
"flag" "flag"
"fmt" "fmt"
@@ -29,7 +30,6 @@ import (
"github.com/lightningnetwork/lnd/lnrpc/wtclientrpc" "github.com/lightningnetwork/lnd/lnrpc/wtclientrpc"
"github.com/lightningnetwork/lnd/lntest/wait" "github.com/lightningnetwork/lnd/lntest/wait"
"github.com/lightningnetwork/lnd/macaroons" "github.com/lightningnetwork/lnd/macaroons"
"golang.org/x/net/context"
"google.golang.org/grpc" "google.golang.org/grpc"
"google.golang.org/grpc/credentials" "google.golang.org/grpc/credentials"
"gopkg.in/macaroon.v2" "gopkg.in/macaroon.v2"