electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 1e3c3a528c8d3fe8008bc0c0e2845f1ce059119a
parent 73e367dc3bbef3e9dcc6d1f524e109c0a30f6a1d
Author: SomberNight <somber.night@protonmail.com>
Date:   Wed,  5 Sep 2018 15:22:57 +0200

attempt at fixing wallet syncing crash

fix #3998
fix #4689

Diffstat:
Melectrum/address_synchronizer.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/electrum/address_synchronizer.py b/electrum/address_synchronizer.py @@ -380,6 +380,8 @@ class AddressSynchronizer(PrintError): for prevout_hash, d in _spent_outpoints.items(): for prevout_n_str, spending_txid in d.items(): prevout_n = int(prevout_n_str) + if spending_txid not in self.transactions: + continue # only care about txns we have self.spent_outpoints[prevout_hash][prevout_n] = spending_txid @profiler