Skip to content

Commit

Permalink
Namecoin: Check for None name_op in name_list
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyRand committed Feb 17, 2020
1 parent 4351157 commit 55f3339
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions electrum_nmc/electrum/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,11 +335,11 @@ async def name_list(self, identifier=None, wallet: Abstract_Wallet = None):
result = []

for coin in coins:
if "name_op" not in coin:
continue

name_op = coin["name_op"]

if name_op is None:
continue

if "name" not in name_op:
continue

Expand Down

0 comments on commit 55f3339

Please sign in to comment.