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 9bd9d7d013bdb0c5713939005d6e15d74693f42b
parent 015742ded02f1d35cbbb82fc8d04326bd62c9458
Author: chris-belcher <chris-belcher@users.noreply.github.com>
Date:   Fri,  5 Jul 2019 12:44:24 +0100

Correctly return version as string not integer

Handles issue #135

Diffstat:
Melectrumpersonalserver/server/common.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/electrumpersonalserver/server/common.py b/electrumpersonalserver/server/common.py @@ -359,7 +359,7 @@ def handle_query(sock, line, rpc, txmonitor, disable_mempool_fee_histogram, client_protocol_version) + " not supported, update needed") raise ConnectionRefusedError() send_response(sock, query, ["ElectrumPersonalServer " - + SERVER_VERSION_NUMBER, protocol_version[0]]) + + SERVER_VERSION_NUMBER, str(protocol_version[0])]) elif method == "server.peers.subscribe": send_response(sock, query, []) #no peers to report elif method == "blockchain.transaction.id_from_pos":