This commit is contained in:
Mark Qvist
2026-05-05 11:08:05 +02:00
parent 729dc8dc11
commit 78596b687a
-3
View File
@@ -691,9 +691,6 @@ class Resource:
RNS.log(f"Decompressed resource exceeded maximum decompressed size. The resource was rejected.", RNS.LOG_ERROR)
return
if self.compressed: self.data = bz2.decompress(data)
else: self.data = data
calculated_hash = RNS.Identity.full_hash(self.data+self.random_hash)
if calculated_hash == self.hash:
if self.has_metadata and self.segment_index == 1: