multi: switch from btcrpcclient to rpcclient
This commit is contained in:
14 files changed
+48
-48
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user