walletunlocker: stdlib context

This commit is contained in:
Lars Lehtonen committed 2019-09-28 15:45:41 -07:00
1 parent dade977d7b
commit bd2e4d6c42
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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 (