Use btcd-specific RPC user/pass for chain RPC.

This commit is contained in:
Josh Rickmar 2014-07-28 09:52:16 -05:00
parent 549d0920f1
commit 2b5eefae56

View file

@ -97,7 +97,7 @@ func walletMain() error {
return
}
rpcc, err := chain.NewClient(activeNet.Params, cfg.RPCConnect,
cfg.Username, cfg.Password, certs)
cfg.BtcdUsername, cfg.BtcdPassword, certs)
if err != nil {
log.Errorf("Cannot create chain server RPC client: %v", err)
close(chainSvrChan)