Skip to content

Commit

Permalink
Namecoin: Use PartialTxInput.name_op in get_wallet_name_count
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyRand committed Feb 17, 2020
1 parent 3935f5e commit 500c252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electrum_nmc/electrum/names.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def get_wallet_name_count(wallet, network):
for _, x in enumerate(utxos):
txid = x.prevout.txid
vout = x.prevout.out_idx
name_op = wallet.db.transactions[txid].outputs()[vout].name_op
name_op = x.name_op
if name_op is None:
continue
height = x.block_height
Expand Down

0 comments on commit 500c252

Please sign in to comment.