1
0

attempt at fixing wallet syncing crash

fix #3998
fix #4689
This commit is contained in:
SomberNight
2018-09-05 15:22:57 +02:00
parent 73e367dc3b
commit 1e3c3a528c

View File

@@ -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