commit 71de14240d58e4eb721903f755593c45c1e84cbd
parent f61d8b4c2432a14b89d5d2a405e6f8b3d5b2c1a2
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 15 Aug 2016 08:27:09 +0200
daemon: default rpchost to 127.0.0.1
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/daemon.py b/lib/daemon.py
@@ -116,7 +116,7 @@ class Daemon(DaemonThread):
self.init_server(config, fd)
def init_server(self, config, fd):
- host = config.get('rpchost', '')
+ host = config.get('rpchost', '127.0.0.1')
port = config.get('rpcport', 0)
try:
server = SimpleJSONRPCServer((host, port), logRequests=False,