Remove dead code

This commit is contained in:
Neil Booth 2018-07-31 06:48:05 +08:00
parent c65f1214a9
commit 6c3cce5705

View File

@ -305,8 +305,6 @@ class MemPool(object):
# hashXs is a defaultdict, so use get() to query
for tx_hash in self.hashXs.get(hashX, ()):
tx = self.txs.get(tx_hash)
if not tx:
continue
for pos, (hX, value) in enumerate(tx.out_pairs):
if hX == hashX:
utxos.append(UTXO(-1, pos, tx_hash, 0, value))