Fixes #371
@ -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):