tMade error message have more actionable advice - electrum-personal-server - Maximally lightweight electrum server for a single user
HTML git clone https://git.parazyd.org/electrum-personal-server
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit 500e497b96e9b681157ad8ecb9f4ad980603e3f3
DIR parent 8488d0b1032ea42850f983835665925938b50481
HTML Author: chris-belcher <chris-belcher@users.noreply.github.com>
Date: Thu, 27 Jun 2019 10:38:52 +0100
Made error message have more actionable advice
Inspired by issue #117
Diffstat:
M electrumpersonalserver/server/comm… | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
DIR diff --git a/electrumpersonalserver/server/common.py b/electrumpersonalserver/server/common.py
t@@ -153,9 +153,11 @@ def handle_query(sock, line, rpc, txmonitor, disable_mempool_fee_histogram,
history_hash = txmonitor.get_electrum_history_hash(scrhash)
else:
logger.warning("Address not known to server, hash(address) = " +
- scrhash + ".\nThis means Electrum is requesting information " +
- "about addresses that are missing from Electrum Personal " +
- "Server's configuration file.")
+ scrhash + ".\nCheck that you've imported the master public " +
+ "key(s) correctly. The first three addresses of each key are " +
+ "printed out on startup,\nso check that they really are " +
+ "addresses you expect. In Electrum go to Wallet -> " +
+ "Information to get the right master public key.")
history_hash = hashes.get_status_electrum([])
send_response(sock, query, history_hash)
elif method == "blockchain.scripthash.get_history":