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:
|
else:
|
||||||
blobs = []
|
blobs = []
|
||||||
if stream_hash:
|
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:
|
else:
|
||||||
blobs = list(self.blob_manager.completed_blob_hashes)
|
blobs = list(self.blob_manager.completed_blob_hashes)
|
||||||
if needed:
|
if needed:
|
||||||
|
|
Loading…
Add table
Reference in a new issue