This commit is contained in:
Jack Robison 2017-12-05 09:31:29 -05:00
parent b859f7a23f
commit 58b789ed42
No known key found for this signature in database
GPG key ID: 284699E7404E3CFF
2 changed files with 3 additions and 2 deletions

View file

@ -14,7 +14,8 @@ at anytime.
### Fixed
* Fixed unnecessarily verbose exchange rate error (https://github.com/lbryio/lbry/issues/984)
* Merged two sepereate dht test folders into one
* Merged two separate dht test folders into one
* Fixed value error due to a race condition when saving to the claim cache (https://github.com/lbryio/lbry/issues/1013)
### Deprecated
* `channel_list_mine`, replaced with `channel_list`

View file

@ -338,7 +338,7 @@ class SqliteStorage(MetaDataStorage):
claim_tx_info = yield self.db.runQuery("SELECT name, txid, n FROM claim_ids "
"WHERE claimId=?", (claim_id, ))
response = None
if r and claim_tx_info:
if r and claim_tx_info and r[0]:
rid, _, seq, claim_address, height, amount, supports, raw, chan_name, valid, ts = r[0]
supports, amount = yield self._fix_malformed_supports_amount(rid, supports, amount)
last_modified = int(ts)