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