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 6f5890fd1039d02ef1ed43859b7f06680c61441e
parent dd9695403c88ae5e4b54ef682564a315203caf2d
Author: chris-belcher <chris-belcher@users.noreply.github.com>
Date:   Mon, 24 Jun 2019 10:02:15 +0100

Remove unneeded parameter

Diffstat:
Melectrumpersonalserver/server/peertopeer.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/electrumpersonalserver/server/peertopeer.py b/electrumpersonalserver/server/peertopeer.py @@ -330,7 +330,7 @@ class P2PBroadcastTx(P2PMessageHandler): + str(p2p.remote_hostport)) p2p.close() -def broadcaster_thread(txhex, node_addrs, tor_hostport, network, rpc, logger): +def broadcaster_thread(txhex, node_addrs, tor_hostport, network, logger): for node_addr in node_addrs: remote_hostport = (node_addr["address"], node_addr["port"]) p2p_msg_handler = P2PBroadcastTx(txhex, logger) @@ -380,7 +380,7 @@ def tor_broadcast_tx(txhex, tor_hostport, network, rpc, logger): ) for node_addrs in node_addrs_chunks: t = threading.Thread(target=broadcaster_thread, - args=(txhex, node_addrs, tor_hostport, network, rpc, logger), + args=(txhex, node_addrs, tor_hostport, network, logger), daemon=True) t.start()