tTypo fix, notice() -> info() - 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 7f0f3f3b43b68570209f18da557a4e01c1425f67
DIR parent 700cd108ea026b971f05b906db03951acf6b2ac0
HTML Author: chris-belcher <chris-belcher@users.noreply.github.com>
Date: Tue, 5 Nov 2019 08:25:36 +0000
Typo fix, notice() -> info()
Used the wrong name for a function in a rarely-executed
code path which was causing a crash
Diffstat:
M electrumpersonalserver/server/comm… | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/electrumpersonalserver/server/common.py b/electrumpersonalserver/server/common.py
t@@ -158,7 +158,7 @@ def handle_query(sock, line, rpc, txmonitor, disable_mempool_fee_histogram,
reply = {"block_height": txheader["block_height"], "pos":
electrum_proof["pos"], "merkle": electrum_proof["merkle"]}
except (ValueError, JsonRpcError) as e:
- logger.notice("merkle proof not found for " + txid + " sending"
+ logger.info("merkle proof not found for " + txid + " sending"
+ " a dummy, Electrum client should be run with "
+ "--skipmerklecheck")
#reply with a proof that the client with accept if