fix check_new_hist: transaction might not be in wallet
This commit is contained in:
parent
d451b93369
commit
c638af7803
|
@ -1134,6 +1134,9 @@ class Wallet:
|
||||||
|
|
||||||
if not found:
|
if not found:
|
||||||
tx = self.transactions.get(tx_hash)
|
tx = self.transactions.get(tx_hash)
|
||||||
|
# tx might not be there
|
||||||
|
if not tx: continue
|
||||||
|
|
||||||
# already verified?
|
# already verified?
|
||||||
if tx.get('height'):
|
if tx.get('height'):
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue