mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 23:41:35 +00:00
replace test that should never happen
This commit is contained in:
parent
344b5e0a23
commit
7ff32877f7
1 changed files with 1 additions and 4 deletions
|
@ -731,10 +731,7 @@ class Abstract_Wallet(PrintError):
|
||||||
if spending_tx_hash is None:
|
if spending_tx_hash is None:
|
||||||
continue
|
continue
|
||||||
# this outpoint (ser) has already been spent, by spending_tx
|
# this outpoint (ser) has already been spent, by spending_tx
|
||||||
if spending_tx_hash not in self.transactions:
|
assert spending_tx_hash in self.transactions
|
||||||
# can't find this txn: delete and ignore it
|
|
||||||
self.spent_outpoints.pop(ser)
|
|
||||||
continue
|
|
||||||
conflicting_txns |= {spending_tx_hash}
|
conflicting_txns |= {spending_tx_hash}
|
||||||
txid = tx.txid()
|
txid = tx.txid()
|
||||||
if txid in conflicting_txns:
|
if txid in conflicting_txns:
|
||||||
|
|
Loading…
Add table
Reference in a new issue