Work on review comments
https://github.com/btcsuite/btcd/pull/1007#discussion_r133563489
This commit is contained in:
parent
55e0d5c298
commit
2804f4cffe
1 changed files with 4 additions and 1 deletions
|
@ -684,7 +684,10 @@ func loadConfig() (*config, []string, error) {
|
|||
if (cfg.RPCUser == "" || cfg.RPCPass == "") &&
|
||||
(cfg.RPCLimitUser == "" || cfg.RPCLimitPass == "") {
|
||||
cfg.DisableRPC = true
|
||||
btcdLog.Infof("JSON-RPC interface is disabled")
|
||||
}
|
||||
|
||||
if cfg.DisableRPC {
|
||||
btcdLog.Infof("RPC service is disabled")
|
||||
}
|
||||
|
||||
// Default RPC to listen on localhost only.
|
||||
|
|
Loading…
Add table
Reference in a new issue