mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 08:25:35 +00:00
download: oops, NotEnoughHashesError comes from hashtree, not hashutil
This commit is contained in:
parent
b84d6ed07f
commit
b76aa1ce17
@ -91,7 +91,7 @@ class ValidatedBucket:
|
||||
sh[0] = self._roothash # always use our own root, from the URI
|
||||
sht = self.share_hash_tree
|
||||
if sht.get_leaf_index(self.sharenum) not in sh:
|
||||
raise hashutil.NotEnoughHashesError
|
||||
raise hashtree.NotEnoughHashesError
|
||||
sht.set_hashes(sh)
|
||||
self._share_hash = sht.get_leaf(self.sharenum)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user