walletunlocker: stdlib context

This commit is contained in:
Lars Lehtonen 2019-09-28 15:45:41 -07:00
parent dade977d7b
commit bd2e4d6c42
No known key found for this signature in database
GPG Key ID: 8137D474EBCB04F2
2 changed files with 2 additions and 2 deletions

@ -1,6 +1,7 @@
package walletunlocker package walletunlocker
import ( import (
"context"
"crypto/rand" "crypto/rand"
"errors" "errors"
"fmt" "fmt"
@ -15,7 +16,6 @@ import (
"github.com/lightningnetwork/lnd/lnrpc" "github.com/lightningnetwork/lnd/lnrpc"
"github.com/lightningnetwork/lnd/lnwallet" "github.com/lightningnetwork/lnd/lnwallet"
"github.com/lightningnetwork/lnd/lnwallet/btcwallet" "github.com/lightningnetwork/lnd/lnwallet/btcwallet"
"golang.org/x/net/context"
) )
// ChannelsToRecover wraps any set of packed (serialized+encrypted) channel // ChannelsToRecover wraps any set of packed (serialized+encrypted) channel

@ -2,6 +2,7 @@ package walletunlocker_test
import ( import (
"bytes" "bytes"
"context"
"io/ioutil" "io/ioutil"
"os" "os"
"strings" "strings"
@ -15,7 +16,6 @@ import (
"github.com/lightningnetwork/lnd/lnrpc" "github.com/lightningnetwork/lnd/lnrpc"
"github.com/lightningnetwork/lnd/lnwallet/btcwallet" "github.com/lightningnetwork/lnd/lnwallet/btcwallet"
"github.com/lightningnetwork/lnd/walletunlocker" "github.com/lightningnetwork/lnd/walletunlocker"
"golang.org/x/net/context"
) )
var ( var (