parent
d075ebba86
commit
790385cf7b
@ -329,7 +329,9 @@ class MemPool(util.LoggedClass):
|
|||||||
txout_pairs = item[1]
|
txout_pairs = item[1]
|
||||||
for pos, (hX, value) in enumerate(txout_pairs):
|
for pos, (hX, value) in enumerate(txout_pairs):
|
||||||
if hX == hashX:
|
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
|
return utxos
|
||||||
|
|
||||||
async def potential_spends(self, hashX):
|
async def potential_spends(self, hashX):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user