From 2c275efa488c14c094d189f08e0a1eb0a03beb7e Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Tue, 5 Feb 2019 01:07:56 -0300 Subject: [PATCH] remove redundant calls to should announce --- lbrynet/stream/managed_stream.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lbrynet/stream/managed_stream.py b/lbrynet/stream/managed_stream.py index 941fe8281..4c166589e 100644 --- a/lbrynet/stream/managed_stream.py +++ b/lbrynet/stream/managed_stream.py @@ -160,8 +160,6 @@ class ManagedStream: await blob_manager.blob_completed(sd_blob) for blob in descriptor.blobs[:-1]: await blob_manager.blob_completed(blob_manager.get_blob(blob.blob_hash, blob.length)) - await blob_manager.set_should_announce(sd_blob.blob_hash, 1) - await blob_manager.set_should_announce(descriptor.blobs[0].blob_hash, 1) return cls(loop, blob_manager, descriptor, os.path.dirname(file_path), os.path.basename(file_path), status=cls.STATUS_FINISHED)