Use btcd-specific RPC user/pass for chain RPC.
This commit is contained in:
parent
549d0920f1
commit
2b5eefae56
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ func walletMain() error {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
rpcc, err := chain.NewClient(activeNet.Params, cfg.RPCConnect,
|
rpcc, err := chain.NewClient(activeNet.Params, cfg.RPCConnect,
|
||||||
cfg.Username, cfg.Password, certs)
|
cfg.BtcdUsername, cfg.BtcdPassword, certs)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Errorf("Cannot create chain server RPC client: %v", err)
|
log.Errorf("Cannot create chain server RPC client: %v", err)
|
||||||
close(chainSvrChan)
|
close(chainSvrChan)
|
||||||
|
|
Loading…
Reference in a new issue