From cdfb7f4cb40e5b823982083a74302e5512383f0f Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Thu, 8 Mar 2018 16:43:22 -0500 Subject: [PATCH] fix blob_list error --- lbrynet/daemon/Daemon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lbrynet/daemon/Daemon.py b/lbrynet/daemon/Daemon.py index 3e11b0354..516264633 100644 --- a/lbrynet/daemon/Daemon.py +++ b/lbrynet/daemon/Daemon.py @@ -3031,7 +3031,8 @@ class Daemon(AuthJSONRPCServer): 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) 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: blobs = [] # get_blobs_for_stream does not include the sd blob, so we'll add it manually