forked from LBRYCommunity/lbry-sdk
add get_head_blob_hash() function in DownloadManager
This commit is contained in:
parent
c0a2c6c830
commit
7e95169fbe
1 changed files with 3 additions and 0 deletions
|
@ -98,3 +98,6 @@ class DownloadManager(object):
|
|||
return self.calculate_total_bytes()
|
||||
else:
|
||||
return sum([b.length for b in self.needed_blobs() if b.length is not None])
|
||||
|
||||
def get_head_blob_hash(self):
|
||||
return self.blobs[0].blob_hash
|
||||
|
|
Loading…
Reference in a new issue