From 55e0d5c298fa9004d838aa30e5540d9314af2676 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Wed, 16 Aug 2017 23:08:53 +0300 Subject: [PATCH] Show info when JSON-RPC is not available --- config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config.go b/config.go index 1266ce48..3a29cc48 100644 --- a/config.go +++ b/config.go @@ -684,6 +684,7 @@ func loadConfig() (*config, []string, error) { if (cfg.RPCUser == "" || cfg.RPCPass == "") && (cfg.RPCLimitUser == "" || cfg.RPCLimitPass == "") { cfg.DisableRPC = true + btcdLog.Infof("JSON-RPC interface is disabled") } // Default RPC to listen on localhost only.