From 13891330d9a3241f58fc546b97c908cebbbd773c Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Sun, 11 Aug 2019 19:11:13 -0300 Subject: [PATCH] check blob hashes from completed_blob_hashes --- lbry/lbry/stream/managed_stream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbry/lbry/stream/managed_stream.py b/lbry/lbry/stream/managed_stream.py index 2f8ce85a5..67cf66fb2 100644 --- a/lbry/lbry/stream/managed_stream.py +++ b/lbry/lbry/stream/managed_stream.py @@ -179,7 +179,7 @@ class ManagedStream: @property def blobs_completed(self) -> int: - return sum([1 if self.blob_manager.is_blob_verified(b.blob_hash) else 0 + return sum([1 if b.blob_hash in self.blob_manager.completed_blob_hashes else 0 for b in self.descriptor.blobs[:-1]]) @property