From 27116f9a37f8cbcaa624fafa45f649b41db3c0d5 Mon Sep 17 00:00:00 2001 From: user Date: Fri, 8 Mar 2024 03:23:55 +0300 Subject: [PATCH] dev@locazia: fix --- app/core/content/content_id.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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''