store claim_id
This commit is contained in:
parent
2b234e0713
commit
0fc1bd7a8c
2 changed files with 5 additions and 1 deletions
|
@ -40,6 +40,10 @@ class WalletDatabase(BaseDatabase):
|
|||
})
|
||||
if txo.script.is_claim_involved:
|
||||
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:
|
||||
row['claim_id'] = sqlite3.Binary(tx.get_claim_id(txo.index))
|
||||
return row
|
||||
|
||||
@defer.inlineCallbacks
|
||||
|
|
|
@ -60,7 +60,7 @@ class LbryWalletManager(BaseWalletManager):
|
|||
'default_servers': settings['lbryum_servers'],
|
||||
'data_path': settings['lbryum_wallet_dir'],
|
||||
'use_keyring': settings['use_keyring'],
|
||||
'db': db
|
||||
#'db': db
|
||||
}
|
||||
|
||||
wallet_file_path = os.path.join(settings['lbryum_wallet_dir'], 'default_wallet')
|
||||
|
|
Loading…
Reference in a new issue