multi: run goimports

This commit is contained in:
Olaoluwa Osuntokun 2018-05-23 19:02:33 -07:00
parent b0b64d3bbd
commit e9b145c524
5 changed files with 6 additions and 6 deletions

View file

@ -10,7 +10,6 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/lightninglabs/gozmq"
"github.com/btcsuite/btcd/btcjson" "github.com/btcsuite/btcd/btcjson"
"github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/chaincfg/chainhash"
@ -20,6 +19,7 @@ import (
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwallet/waddrmgr" "github.com/btcsuite/btcwallet/waddrmgr"
"github.com/btcsuite/btcwallet/wtxmgr" "github.com/btcsuite/btcwallet/wtxmgr"
"github.com/lightninglabs/gozmq"
) )
// BitcoindClient represents a persistent client connection to a bitcoind server // BitcoindClient represents a persistent client connection to a bitcoind server

View file

@ -6,7 +6,6 @@ import (
"sync" "sync"
"time" "time"
"github.com/lightninglabs/neutrino"
"github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/rpcclient" "github.com/btcsuite/btcd/rpcclient"
@ -17,6 +16,7 @@ import (
"github.com/btcsuite/btcutil/gcs/builder" "github.com/btcsuite/btcutil/gcs/builder"
"github.com/btcsuite/btcwallet/waddrmgr" "github.com/btcsuite/btcwallet/waddrmgr"
"github.com/btcsuite/btcwallet/wtxmgr" "github.com/btcsuite/btcwallet/wtxmgr"
"github.com/lightninglabs/neutrino"
) )
// NeutrinoClient is an implementation of the btcwalet chain.Interface interface. // NeutrinoClient is an implementation of the btcwalet chain.Interface interface.

View file

@ -11,11 +11,11 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"github.com/jessevdk/go-flags"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwallet/walletdb" "github.com/btcsuite/btcwallet/walletdb"
_ "github.com/btcsuite/btcwallet/walletdb/bdb" _ "github.com/btcsuite/btcwallet/walletdb/bdb"
"github.com/btcsuite/btcwallet/wtxmgr" "github.com/btcsuite/btcwallet/wtxmgr"
"github.com/jessevdk/go-flags"
) )
const defaultNet = "mainnet" const defaultNet = "mainnet"

View file

@ -15,13 +15,13 @@ import (
"strings" "strings"
"time" "time"
flags "github.com/jessevdk/go-flags"
"github.com/lightninglabs/neutrino"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwallet/internal/cfgutil" "github.com/btcsuite/btcwallet/internal/cfgutil"
"github.com/btcsuite/btcwallet/internal/legacy/keystore" "github.com/btcsuite/btcwallet/internal/legacy/keystore"
"github.com/btcsuite/btcwallet/netparams" "github.com/btcsuite/btcwallet/netparams"
"github.com/btcsuite/btcwallet/wallet" "github.com/btcsuite/btcwallet/wallet"
flags "github.com/jessevdk/go-flags"
"github.com/lightninglabs/neutrino"
) )
const ( const (

View file

@ -8,8 +8,8 @@ import (
"io" "io"
"os" "os"
"github.com/coreos/bbolt"
"github.com/btcsuite/btcwallet/walletdb" "github.com/btcsuite/btcwallet/walletdb"
"github.com/coreos/bbolt"
) )
// convertErr converts some bolt errors to the equivalent walletdb error. // convertErr converts some bolt errors to the equivalent walletdb error.