lntest: stdlib context

This commit is contained in:
Lars Lehtonen 2019-09-28 15:43:42 -07:00
parent 7fcac54dff
commit 085a63fee5
No known key found for this signature in database
GPG Key ID: 8137D474EBCB04F2
3 changed files with 3 additions and 3 deletions

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

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

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