mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-09-01 09:45:13 +00:00
fix blob_list error
This commit is contained in:
parent
3f1bcbffeb
commit
cdfb7f4cb4
1 changed files with 2 additions and 1 deletions
|
@ -3031,7 +3031,8 @@ class Daemon(AuthJSONRPCServer):
|
||||||
stream_hash = yield self.session.storage.get_stream_hash_for_sd_hash(sd_hash)
|
stream_hash = yield self.session.storage.get_stream_hash_for_sd_hash(sd_hash)
|
||||||
sd_hash = yield self.session.storage.get_sd_blob_hash_for_stream(stream_hash)
|
sd_hash = yield self.session.storage.get_sd_blob_hash_for_stream(stream_hash)
|
||||||
if stream_hash:
|
if stream_hash:
|
||||||
blobs = yield self.session.storage.get_blobs_for_stream(stream_hash)
|
crypt_blobs = yield self.session.storage.get_blobs_for_stream(stream_hash)
|
||||||
|
blobs = [self.session.blob_manager.blobs[crypt_blob.blob_hash] for crypt_blob in crypt_blobs]
|
||||||
else:
|
else:
|
||||||
blobs = []
|
blobs = []
|
||||||
# get_blobs_for_stream does not include the sd blob, so we'll add it manually
|
# get_blobs_for_stream does not include the sd blob, so we'll add it manually
|
||||||
|
|
Loading…
Add table
Reference in a new issue