fix terminator blob hash (None) being included when running blob_list for an sd hash
This commit is contained in:
parent
4a0a6b0243
commit
4483380352
1 changed files with 1 additions and 1 deletions
|
@ -2718,7 +2718,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
|||
else:
|
||||
blobs = []
|
||||
if stream_hash:
|
||||
blobs.extend([b.blob_hash for b in await self.storage.get_blobs_for_stream(stream_hash)])
|
||||
blobs.extend([b.blob_hash for b in (await self.storage.get_blobs_for_stream(stream_hash))[:-1]])
|
||||
else:
|
||||
blobs = list(self.blob_manager.completed_blob_hashes)
|
||||
if needed:
|
||||
|
|
Loading…
Reference in a new issue