diff --git a/app/core/content/content_id.py b/app/core/content/content_id.py index b976b9f..0a4d7fa 100644 --- a/app/core/content/content_id.py +++ b/app/core/content/content_id.py @@ -24,7 +24,7 @@ class ContentId: return b58encode(self.content_hash).decode() def serialize_v1(self) -> str: - at_bin = string_to_bytes_fixed_size(self.accept_type, 15) + at_bin = self.accept_type[:15] # string_to_bytes_fixed_size(self.accept_type, 15) assert len(self.content_hash) == 32, "Invalid hash length" if self.onchain_index < 0: oi_bin = b''