From 085a63fee5dfac3c0f987292389fa0de056d538b Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Sat, 28 Sep 2019 15:43:42 -0700 Subject: [PATCH] lntest: stdlib context --- lntest/harness.go | 2 +- lntest/itest/lnd_test.go | 2 +- lntest/node.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lntest/harness.go b/lntest/harness.go index f010c8298..841a43ca0 100644 --- a/lntest/harness.go +++ b/lntest/harness.go @@ -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" diff --git a/lntest/itest/lnd_test.go b/lntest/itest/lnd_test.go index e7cdfcd82..de3391bbf 100644 --- a/lntest/itest/lnd_test.go +++ b/lntest/itest/lnd_test.go @@ -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 ( diff --git a/lntest/node.go b/lntest/node.go index 75a0d37fa..9b4256c3c 100644 --- a/lntest/node.go +++ b/lntest/node.go @@ -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"