diff --git a/lbrynet/wallet/database.py b/lbrynet/wallet/database.py index 219dc5beb..b17f7dbeb 100644 --- a/lbrynet/wallet/database.py +++ b/lbrynet/wallet/database.py @@ -42,7 +42,7 @@ class WalletDatabase(BaseDatabase): row['claim_name'] = txo.script.values['claim_name'] if txo.script.is_update_claim or txo.script.is_support_claim: row['claim_id'] = sqlite3.Binary(txo.script.values['claim_id']) - else: + elif txo.script.is_claim_name: row['claim_id'] = sqlite3.Binary(tx.get_claim_id(txo.index)) return row