lnwallet/btcwallet: update WalletController imp to latest btcwallet API

This commit is contained in:
Olaoluwa Osuntokun
2017-04-23 19:19:17 -07:00
parent 844cdba513
commit c41d673c7b
4 changed files with 51 additions and 51 deletions

2
lnd.go
View File

@@ -131,7 +131,7 @@ func lndMain() error {
CACert: rpcCert,
NetParams: activeNetParams.Params,
}
wc, err := btcwallet.New(walletConfig)
wc, err := btcwallet.New(*walletConfig)
if err != nil {
fmt.Printf("unable to create wallet controller: %v\n", err)
return err