Browse Source

UTXO holds a binary hash

Fixes #371
patch-2
Neil Booth 7 years ago
parent
commit
790385cf7b
  1. 4
      server/mempool.py

4
server/mempool.py

@ -329,7 +329,9 @@ class MemPool(util.LoggedClass):
txout_pairs = item[1]
for pos, (hX, value) in enumerate(txout_pairs):
if hX == hashX:
utxos.append(UTXO(-1, pos, hex_hash, 0, value))
# Unfortunately UTXO holds a binary hash
utxos.append(UTXO(-1, pos, hex_str_to_hash(hex_hash),
0, value))
return utxos
async def potential_spends(self, hashX):

Loading…
Cancel
Save