multi: switch from btcrpcclient to rpcclient

This commit is contained in:
Olaoluwa Osuntokun committed 2017-08-24 18:54:24 -07:00
1 parent ac128e4545
commit 9f0efddc20
14 files changed
+48 -48

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ func createNewWallet(args ...interface{}) (lnwallet.WalletController, error) {
config, ok := args[0].(*Config)
if !ok {
return nil, fmt.Errorf("first argument to btcdnotifier.New is " +
"incorrect, expected a *btcrpcclient.ConnConfig")
"incorrect, expected a *rpcclient.ConnConfig")
}
return New(*config)
+1 -1
View File
@@ -27,7 +27,7 @@ import (
_ "github.com/roasbeef/btcwallet/walletdb/bdb"
"github.com/roasbeef/btcd/btcec"
"github.com/roasbeef/btcd/rpctest"
"github.com/roasbeef/btcd/integration/rpctest"
"github.com/roasbeef/btcd/txscript"
"github.com/roasbeef/btcd/wire"
"github.com/roasbeef/btcutil"
+2 -2
View File
@@ -2,7 +2,7 @@ package lnwallet
import (
"github.com/btcsuite/btclog"
"github.com/roasbeef/btcrpcclient"
"github.com/roasbeef/btcd/rpcclient"
"github.com/roasbeef/btcwallet/chain"
btcwallet "github.com/roasbeef/btcwallet/wallet"
"github.com/roasbeef/btcwallet/wtxmgr"
@@ -32,7 +32,7 @@ func UseLogger(logger btclog.Logger) {
btcwallet.UseLogger(logger)
wtxmgr.UseLogger(logger)
btcrpcclient.UseLogger(logger)
rpcclient.UseLogger(logger)
chain.UseLogger(logger)
}