Remove dead code
This commit is contained in:
parent
c65f1214a9
commit
6c3cce5705
@ -305,8 +305,6 @@ class MemPool(object):
|
|||||||
# hashXs is a defaultdict, so use get() to query
|
# hashXs is a defaultdict, so use get() to query
|
||||||
for tx_hash in self.hashXs.get(hashX, ()):
|
for tx_hash in self.hashXs.get(hashX, ()):
|
||||||
tx = self.txs.get(tx_hash)
|
tx = self.txs.get(tx_hash)
|
||||||
if not tx:
|
|
||||||
continue
|
|
||||||
for pos, (hX, value) in enumerate(tx.out_pairs):
|
for pos, (hX, value) in enumerate(tx.out_pairs):
|
||||||
if hX == hashX:
|
if hX == hashX:
|
||||||
utxos.append(UTXO(-1, pos, tx_hash, 0, value))
|
utxos.append(UTXO(-1, pos, tx_hash, 0, value))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user