lnrpc: stdlib context

This commit is contained in:
Lars Lehtonen 2019-09-28 16:06:34 -07:00
parent fa26359dd6
commit 8194d260ff
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 routerrpc
import (
"context"
"encoding/hex"
"errors"
"fmt"
@ -16,7 +17,6 @@ import (
"github.com/lightningnetwork/lnd/routing/route"
"github.com/lightningnetwork/lnd/tlv"
"github.com/lightningnetwork/lnd/zpay32"
context "golang.org/x/net/context"
)
// RouterBackend contains the backend implementation of the router rpc sub

@ -4,6 +4,7 @@ package walletrpc
import (
"bytes"
"context"
"errors"
"fmt"
"io/ioutil"
@ -19,7 +20,6 @@ import (
"github.com/lightningnetwork/lnd/lnrpc/signrpc"
"github.com/lightningnetwork/lnd/lnwallet"
"github.com/lightningnetwork/lnd/sweep"
"golang.org/x/net/context"
"google.golang.org/grpc"
"gopkg.in/macaroon-bakery.v2/bakery"
)