Merge pull request #2580 from halseth/autopilotrpc-imports-cleanup

[trivial] cleanup subserver imports
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2019-02-04 12:46:53 -08:00
commit a98d5deeb8
3 files changed
+6 -7

No files matched your search

-1
View File
@@ -5,7 +5,6 @@ package autopilotrpc
import ( import (
"context" "context"
"encoding/hex" "encoding/hex"
"os"
"sync/atomic" "sync/atomic"
"github.com/btcsuite/btcd/btcec" "github.com/btcsuite/btcd/btcec"
+2 -2
View File
@@ -4,14 +4,14 @@ package invoicesrpc
import ( import (
"context" "context"
"google.golang.org/grpc"
"gopkg.in/macaroon-bakery.v2/bakery"
"io/ioutil" "io/ioutil"
"os" "os"
"path/filepath" "path/filepath"
"github.com/lightningnetwork/lnd/lnrpc" "github.com/lightningnetwork/lnd/lnrpc"
"github.com/lightningnetwork/lnd/lntypes" "github.com/lightningnetwork/lnd/lntypes"
"google.golang.org/grpc"
"gopkg.in/macaroon-bakery.v2/bakery"
) )
const ( const (
+4 -4
View File
@@ -4,7 +4,7 @@ package walletrpc
import ( import (
"bytes" "bytes"
fmt "fmt" "fmt"
"io/ioutil" "io/ioutil"
"os" "os"
"path/filepath" "path/filepath"
@@ -12,10 +12,10 @@ import (
"github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcd/wire"
"github.com/lightningnetwork/lnd/keychain" "github.com/lightningnetwork/lnd/keychain"
"github.com/lightningnetwork/lnd/lnrpc" "github.com/lightningnetwork/lnd/lnrpc"
signrpc "github.com/lightningnetwork/lnd/lnrpc/signrpc" "github.com/lightningnetwork/lnd/lnrpc/signrpc"
"github.com/lightningnetwork/lnd/lnwallet" "github.com/lightningnetwork/lnd/lnwallet"
context "golang.org/x/net/context" "golang.org/x/net/context"
grpc "google.golang.org/grpc" "google.golang.org/grpc"
"gopkg.in/macaroon-bakery.v2/bakery" "gopkg.in/macaroon-bakery.v2/bakery"
) )