From bd2e4d6c426973fdbcfeb949dfe5a9ed92ea1f96 Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Sat, 28 Sep 2019 15:45:41 -0700 Subject: [PATCH] walletunlocker: stdlib context --- walletunlocker/service.go | 2 +- walletunlocker/service_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/walletunlocker/service.go b/walletunlocker/service.go index 3fe007cb..a4e030e0 100644 --- a/walletunlocker/service.go +++ b/walletunlocker/service.go @@ -1,6 +1,7 @@ package walletunlocker import ( + "context" "crypto/rand" "errors" "fmt" @@ -15,7 +16,6 @@ import ( "github.com/lightningnetwork/lnd/lnrpc" "github.com/lightningnetwork/lnd/lnwallet" "github.com/lightningnetwork/lnd/lnwallet/btcwallet" - "golang.org/x/net/context" ) // ChannelsToRecover wraps any set of packed (serialized+encrypted) channel diff --git a/walletunlocker/service_test.go b/walletunlocker/service_test.go index 525a2bdc..8eec845a 100644 --- a/walletunlocker/service_test.go +++ b/walletunlocker/service_test.go @@ -2,6 +2,7 @@ package walletunlocker_test import ( "bytes" + "context" "io/ioutil" "os" "strings" @@ -15,7 +16,6 @@ import ( "github.com/lightningnetwork/lnd/lnrpc" "github.com/lightningnetwork/lnd/lnwallet/btcwallet" "github.com/lightningnetwork/lnd/walletunlocker" - "golang.org/x/net/context" ) var (