saving txo bug fix

This commit is contained in:
Lex Berezhny 2018-07-12 01:15:59 -04:00 committed by Jack Robison
parent 0fc1bd7a8c
commit 272d818050
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -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