electrum-personal-server

Maximally lightweight electrum server for a single user
git clone https://git.parazyd.org/electrum-personal-server
Log | Files | Refs | README

commit 4dc8422e6e18ef09e771aed53b7a334c9d376d2e
parent 8338b0883b78bdbb36af1d9d2d01faf11c9312aa
Author: chris-belcher <chris-belcher@users.noreply.github.com>
Date:   Mon, 21 May 2018 20:43:11 +0100

Make the error message more general on json-rpc failure

Diffstat:
Mserver.py | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/server.py b/server.py @@ -484,8 +484,7 @@ def main(): bestblockhash[0] = rpc.call("getbestblockhash", []) except JsonRpcError as e: if not printed_error_msg: - log("Error: " + repr(e)) - log("Error with bitcoin rpc, check host/port/user/password") + log("Error with bitcoin json-rpc: " + repr(e)) printed_error_msg = True time.sleep(5)