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 f9decf97364060c06fb12f0ddad6d6f42f1271e7
parent 063662b9413ab1dfab5bd1a3f82c92a181f72692
Author: chris-belcher <chris-belcher@users.noreply.github.com>
Date:   Wed, 19 Jun 2019 13:26:53 +0100

Reduced line length to below 80 chars

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

diff --git a/electrumpersonalserver/server/common.py b/electrumpersonalserver/server/common.py @@ -546,7 +546,8 @@ def get_scriptpubkeys_to_monitor(rpc, config): first_addrs = [hashes.script_to_address(s, rpc) for s in first_spks] logger.info("\n" + config_mpk_key + " =>\n\t" + "\n\t".join( first_addrs)) - last_spk = wal.get_scriptpubkeys(0, int(config.get("bitcoin-rpc", "initial_import_count")) - 1, 1) + last_spk = wal.get_scriptpubkeys(0, int(config.get("bitcoin-rpc", + "initial_import_count")) - 1, 1) last_addr = [hashes.script_to_address(last_spk[0], rpc)] if not set(first_addrs + last_addr).issubset(imported_addresses): import_needed = True