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

+3 -3
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"github.com/lightningnetwork/lnd/chainntnfs"
"github.com/roasbeef/btcrpcclient"
"github.com/roasbeef/btcd/rpcclient"
)
// createNewNotifier creates a new instance of the ChainNotifier interface
@@ -15,10 +15,10 @@ func createNewNotifier(args ...interface{}) (chainntnfs.ChainNotifier, error) {
"expected 1, instead passed %v", len(args))
}
config, ok := args[0].(*btcrpcclient.ConnConfig)
config, ok := args[0].(*rpcclient.ConnConfig)
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)