Skip to content

Commit

Permalink
Namecoin: Fix bytes/hex mismatch in get_utxos
Browse files Browse the repository at this point in the history
This was causing name_autoregister to erroneously report
"insufficient funds" at the name_firstupdate step.
  • Loading branch information
JeremyRand committed Feb 17, 2020
1 parent cd7460a commit 41724e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electrum_nmc/electrum/address_synchronizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ def get_utxos(self, domain=None, *, excluded_addresses=None,
if only_uno_txids is not None:
if utxo.name_op is None:
continue
if utxo.prevout.txid not in only_uno_txids:
if utxo.prevout.txid.hex() not in only_uno_txids:
continue
if only_uno_identifiers is not None:
if utxo.name_op is None:
Expand Down

0 comments on commit 41724e4

Please sign in to comment.